我在我的节点应用程序中使用了包捆绑包,但是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)发布于 2021-02-22 02:04:24
您请求的favicon.ico图像(应用程序顶部的小图像)。看起来你没有它/你在错误的地方请求它。
https://stackoverflow.com/questions/66305236
复制相似问题