【问题标题】:ERROR AppError: Can't find /bundle.js.map on this server错误 AppError:在此服务器上找不到 /bundle.js.map
【发布时间】:2021-02-21 17:45:02
【问题描述】:

我在我的节点应用程序中使用包裹包,但 Axios 没有工作,它显示了以下错误: 另外,bundle.js.map 也找不到。

ERROR ?? AppError: Can't find /favicon.ico on this server!
at G:\NODE-APP\my-node.js\exp-2\exp\app.js:94:8
at Layer.handle [as handle_request] (G:\NODE-APP\my-node.js\exp-2\exp\node_modules\express\lib\router\layer.js:95:5)
at next (G:\NODE-APP\my-node.js\exp-2\exp\node_modules\express\lib\router\route.js:137:13)
at next (G:\NODE-APP\my-node.js\exp-2\exp\node_modules\express\lib\router\route.js:131:14)
at next (G:\NODE-APP\my-node.js\exp-2\exp\node_modules\express\lib\router\route.js:131:14)
at next (G:\NODE-APP\my-node.js\exp-2\exp\node_modules\express\lib\router\route.js:131:14)
at next (G:\NODE-APP\my-node.js\exp-2\exp\node_modules\express\lib\router\route.js:131:14)
at next (G:\NODE-APP\my-node.js\exp-2\exp\node_modules\express\lib\router\route.js:131:14)
at next (G:\NODE-APP\my-node.js\exp-2\exp\node_modules\express\lib\router\route.js:131:14)
at Route.dispatch (G:\NODE-APP\my-node.js\exp-2\exp\node_modules\express\lib\router\route.js:112:3)
at Layer.handle [as handle_request] (G:\NODE-APP\my-node.js\exp-2\exp\node_modules\express\lib\router\layer.js:95:5)
at G:\NODE-APP\my-node.js\exp-2\exp\node_modules\express\lib\router\index.js:281:22
at param (G:\NODE-APP\my-node.js\exp-2\exp\node_modules\express\lib\router\index.js:354:14)
at param (G:\NODE-APP\my-node.js\exp-2\exp\node_modules\express\lib\router\index.js:365:14)
at Function.process_params (G:\NODE-APP\my-node.js\exp-2\exp\node_modules\express\lib\router\index.js:410:3)
at next (G:\NODE-APP\my-node.js\exp-2\exp\node_modules\express\lib\router\index.js:275:10)

image of errors

【问题讨论】:

    标签: node.js bundler parcel


    【解决方案1】:

    您请求的 favicon.ico 图片(应用顶部的小图片)。并且您似乎没有它/您在错误的地方请求它。

    【讨论】:

    • 是部署项目还是本地项目?
    • 这是本地的。
    • 在前面是吗?你用的是什么技术?你可以添加你要求 favico 的地方吗?
    • node.js img(src='/img/logo-white.png' app.use(express.static(${__dirname}/public));
    • 这不是我要找的,你有 git repo 吗?
    猜你喜欢
    • 2020-09-24
    • 1970-01-01
    • 1970-01-01
    • 2017-09-09
    • 1970-01-01
    • 2014-10-15
    • 1970-01-01
    • 2021-04-11
    • 1970-01-01
    相关资源
    最近更新 更多