20:49:08.950 ERROR TypeError: Cannot read property 'replace' of undefined
20:49:08.950 TypeError: Cannot read property 'replace' of undefined
20:49:08.954 at E:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\mpvue-template-compiler\build.js:4954:72
20:49:08.955 at Array.forEach (<anonymous>)
20:49:08.959 at convertAst (E:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\mpvue-template-compiler\build.js:4951:14)
20:49:08.960 at wxmlAst (E:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\mpvue-template-compiler\build.js:5005:17)
20:49:08.966 at compileToWxml (E:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\packages\mpvue-template-compiler\build.js:5124:15)
20:49:08.967 at compile (E:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\webpack-uni-mp-loader\lib\plugin\compile-to-template.js:36:9)
20:49:08.976 at Object.keys.forEach.filePath (E:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\webpack-uni-mp-loader\lib\plugin\generate-components-wxml.js:124:22)
20:49:08.977 at Array.forEach (<anonymous>)
20:49:08.984 at generateComponentsWxml (E:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\webpack-uni-mp-loader\lib\plugin\generate-components-wxml.js:77:26)
20:49:08.984 at Promise (E:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\webpack-uni-mp-loader\lib\plugin\index.js:128:11)
20:49:08.991 at new Promise (<anonymous>)
20:49:08.992 at compiler.hooks.emit.tapPromise.compilation (E:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\webpack-uni-mp-loader\lib\plugin\index.js:68:14)
20:49:08.998 at _err0 (eval at create (E:\HBuilderX\plugins\uniapp-cli\node_modules\tapable\lib\HookCodeFactory.js:32:10), <anonymous>:13:17)
20:49:08.999 at callback (E:\HBuilderX\plugins\uniapp-cli\node_modules\copy-webpack-plugin\dist\index.js:77:17)
20:49:09.005 at E:\HBuilderX\plugins\uniapp-cli\node_modules\copy-webpack-plugin\dist\index.js:118:24
20:49:09.006 at <anonymous>
建站攻略
- 发布:2019-01-18 20:59
- 更新:2019-06-14 16:46
- 阅读:5867
打包提示这个是啥原因,请问有遇到过吗?ERROR TypeError: Cannot read property 'replace' of undefined
分类:uni-app