项目在手机调试时无报错,但在Chrome调试报如下错误,关键是不知道问题定位在哪,无法排查:
11:08:04.097 项目 'Uni-App' 开始编译...
11:08:04.718 INFO Starting development server...
11:08:12.391 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js):
11:08:12.396 Error: Unbalanced delimiter found in string
11:08:12.397 at Function.XRegExp.matchRecursive (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/node_modules/xregexp/lib/addons/matchrecursive.js:198:15)
11:08:12.402 at matchReplacePass (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/preprocess/lib/preprocess.js:302:27)
11:08:12.418 at replaceRecursive (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/preprocess/lib/preprocess.js:332:10)
11:08:12.438 at preprocessor (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/preprocess/lib/preprocess.js:168:10)
11:08:12.439 at Object.preprocess (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/preprocess/lib/preprocess.js:93:10)
11:08:12.454 at Object.module.exports (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js:10:35)
1 个回复
1***@qq.com - 唯刀百辟,唯心不易
看我这个帖子