x***@gmail.com
x***@gmail.com
  • 发布:2021-04-07 22:54
  • 更新:2021-04-07 22:54
  • 阅读:970

h5运行后url自动跳转到/localhost:8004/ URI Error

分类:uni-app

URIError: Failed to decode param '/%3C%=%20BASE_URL%20%%3Estatic/index.%3C%=%20VUE_APP_INDEX_CSS_HASH%20%%3E.css'
22:45:16.472 at decodeURIComponent (<anonymous>)
22:45:16.477 at decode_param (D:\HBuildX\HBuilderX\plugins\uniapp-cli\node_modules\express\lib\router\layer.js:172:12)
22:45:16.477 at Layer.match (D:\HBuildX\HBuilderX\plugins\uniapp-cli\node_modules\express\lib\router\layer.js:123:27)
22:45:16.480 at matchLayer (D:\HBuildX\HBuilderX\plugins\uniapp-cli\node_modules\express\lib\router\index.js:574:18)
22:45:16.480 at next (D:\HBuildX\HBuilderX\plugins\uniapp-cli\node_modules\express\lib\router\index.js:220:15)
22:45:16.483 at expressInit (D:\HBuildX\HBuilderX\plugins\uniapp-cli\node_modules\express\lib\middleware\init.js:40:5)
22:45:16.483 at Layer.handle [as handle_request] (D:\HBuildX\HBuilderX\plugins\uniapp-cli\node_modules\express\lib\router\layer.js:95:5)
22:45:16.488 at trim_prefix (D:\HBuildX\HBuilderX\plugins\uniapp-cli\node_modules\express\lib\router\index.js:317:13)
22:45:16.491 at D:\HBuildX\HBuilderX\plugins\uniapp-cli\node_modules\express\lib\router\index.js:284:7
22:45:16.494 at Function.process_params (D:\HBuildX\HBuilderX\plugins\uniapp-cli\node_modules\express\lib\router\index.js:335:12)
22:45:16.497 at next (D:\HBuildX\HBuilderX\plugins\uniapp-cli\node_modules\express\lib\router\index.js:275:10)
22:45:16.497 at query (D:\HBuildX\HBuilderX\plugins\uniapp-cli\node_modules\express\lib\middleware\query.js:45:5)
22:45:16.500 at Layer.handle [as handle_request] (D:\HBuildX\HBuilderX\plugins\uniapp-cli\node_modules\express\lib\router\layer.js:95:5)
22:45:16.505 at trim_prefix (D:\HBuildX\HBuilderX\plugins\uniapp-cli\node_modules\express\lib\router\index.js:317:13)
22:45:16.507 at D:\HBuildX\HBuilderX\plugins\uniapp-cli\node_modules\express\lib\router\index.js:284:7
22:45:16.510 at Function.process_params (D:\HBuildX\HBuilderX\plugins\uniapp-cli\node_modules\express\lib\router\index.js:335:12)
22:45:20.255 URIError: Failed to decode param '/%3C%=%20BASE_URL%20%%3Estatic/index.%3C%=%20VUE_APP_INDEX_CSS_HASH%20%%3E.css'
22:45:20.259 at decodeURIComponent (<anonymous>)
22:45:20.259 at decode_param (D:\HBuildX\HBuilderX\plugins\uniapp-cli\node_modules\express\lib\router\layer.js:172:12)
22:45:20.262 at Layer.match (D:\HBuildX\HBuilderX\plugins\uniapp-cli\node_modules\express\lib\router\layer.js:123:27)
22:45:20.265 at matchLayer (D:\HBuildX\HBuilderX\plugins\uniapp-cli\node_modules\express\lib\router\index.js:574:18)
22:45:20.268 at next (D:\HBuildX\HBuilderX\plugins\uniapp-cli\node_modules\express\lib\router\index.js:220:15)
22:45:20.272 at expressInit (D:\HBuildX\HBuilderX\plugins\uniapp-cli\node_modules\express\lib\middleware\init.js:40:5)
22:45:20.275 at Layer.handle [as handle_request] (D:\HBuildX\HBuilderX\plugins\uniapp-cli\node_modules\express\lib\router\layer.js:95:5)
22:45:20.278 at trim_prefix (D:\HBuildX\HBuilderX\plugins\uniapp-cli\node_modules\express\lib\router\index.js:317:13)
22:45:20.279 at D:\HBuildX\HBuilderX\plugins\uniapp-cli\node_modules\express\lib\router\index.js:284:7
22:45:20.282 at Function.process_params (D:\HBuildX\HBuilderX\plugins\uniapp-cli\node_modules\express\lib\router\index.js:335:12)
22:45:20.282 at next (D:\HBuildX\HBuilderX\plugins\uniapp-cli\node_modules\express\lib\router\index.js:275:10)
22:45:20.285 at query (D:\HBuildX\HBuilderX\plugins\uniapp-cli\node_modules\express\lib\middleware\query.js:45:5)
22:45:20.286 at Layer.handle [as handle_request] (D:\HBuildX\HBuilderX\plugins\uniapp-cli\node_modules\express\lib\router\layer.js:95:5)
22:45:20.290 at trim_prefix (D:\HBuildX\HBuilderX\plugins\uniapp-cli\node_modules\express\lib\router\index.js:317:13)
22:45:20.293 at D:\HBuildX\HBuilderX\plugins\uniapp-cli\node_modules\express\lib\router\index.js:284:7
22:45:20.296 at Function.process_params (D:\HBuildX\HBuilderX\plugins\uniapp-cli\node_modules\express\lib\router\index.js:335:12)
本来应该是/localhost:8004/h5/# 手动输入后也会自动跳转到 /localhost:8004/ ,访问其他页面正常,就是启动页面不行

2021-04-07 22:54 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复