tfw_new@4.3.0 dev:h5
cross-env NODE_ENV=development UNI_PLATFORM=h5 vue-cli-service uni-serve
E:\Desktop\tfw1\node_modules.store\@dcloudio+uni-cli-shared@2.0.0\node_modules\@dcloudio\uni-cli-shared\lib\util.js:7
const normalizePath = path => (isWin ? path.replace(/\/g, '/') : path)
^
TypeError: path.replace is not a function
at normalizePath (E:\Desktop\tfw1\node_modules.store\@dcloudio+uni-cli-shared@2.0.0\node_modules\@dcloudio\uni-cli-shared\lib\util.js:7:45)
at ErrorReport.report (E:\Desktop\tfw1\node_modules.store\@dcloudio+vue-cli-plugin-uni@2.0.0\node_modules\@dcloudio\vue-cli-plugin-uni\lib\error-reporting.js:44:11)
at report (E:\Desktop\tfw1\node_modules.store\@dcloudio+vue-cli-plugin-uni@2.0.0\node_modules\@dcloudio\vue-cli-plugin-uni\lib\error-reporting.js:144:24)
at process.<anonymous> (E:\Desktop\tfw1\node_modules.store\@dcloudio+vue-cli-plugin-uni@2.0.0\node_modules\@dcloudio\vue-cli-plugin-uni\lib\error-reporting.js:154:42)
at process.emit (node:events:520:28)
at process._fatalException (node:internal/process/execution:164:25)
2 个回复
3***@qq.com (作者)
我在浏览器找解决方法没有找到,请问有大佬指点一下么
YUANRJ
请提供下测试工程和具体版本