如何解决在反应应用程序上执行npm启动时出错...解码参数时显示错误
我是react
的新手,在做npm start
来在浏览器中查看我的应用程序时,出现了错误。
首先,我的地址是localhost:3000
,但现在是http://localhost:3000/shaki55/Berroche-clothin
,其中shaki55/berroche-clothing
是此应用程序的github页面。
最近我安装了firebase
并完成了git pull
,我不知道发生了什么,以及为什么会出现此错误。
Failed to decode param '/%PUBLIC_URL%/manifest.json'
at decodeURIComponent (<anonymous>)
at decode_param (C:\Users\Dell\Desktop\berroche\node_modules\express\lib\router\layer.js:172:12)
at Layer.match (C:\Users\Dell\Desktop\berroche\node_modules\express\lib\router\layer.js:123:27)
at matchLayer (C:\Users\Dell\Desktop\berroche\node_modules\express\lib\router\index.js:574:18)
at next (C:\Users\Dell\Desktop\berroche\node_modules\express\lib\router\index.js:220:15)
at expressInit (C:\Users\Dell\Desktop\berroche\node_modules\express\lib\middleware\init.js:40:5)
at Layer.handle [as handle_request] (C:\Users\Dell\Desktop\berroche\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Users\Dell\Desktop\berroche\node_modules\express\lib\router\index.js:317:13)
at C:\Users\Dell\Desktop\berroche\node_modules\express\lib\router\index.js:284:7
at Function.process_params (C:\Users\Dell\Desktop\berroche\node_modules\express\lib\router\index.js:335:12)
URIError: Failed to decode param '/%PUBLIC_URL%/favicon.ico'
at decodeURIComponent (<anonymous>)
at decode_param (C:\Users\Dell\Desktop\berroche\node_modules\express\lib\router\layer.js:172:12)
at Layer.match (C:\Users\Dell\Desktop\berroche\node_modules\express\lib\router\layer.js:123:27)
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。