ERROR TypeError: Path must be a string. Received undefined
14:35:09.898 TypeError: Path must be a string. Received undefined
14:35:09.899 at assertPath (path.js:28:11)
14:35:09.906 at Object.relative (path.js:1252:5)
14:35:09.907 at Object.keys.forEach.name (/Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/plugin/generate-component.js:158:52)
14:35:09.917 at Array.forEach (<anonymous>)
14:35:09.917 at generateComponent (/Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/plugin/generate-component.js:76:25)
14:35:09.923 at Promise (/Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/plugin/index-new.js:84:11)
14:35:09.930 at new Promise (<anonymous>)
14:35:09.930 at compiler.hooks.emit.tapPromise.compilation (/Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/plugin/index-new.js:72:16)
14:35:09.949 at _next1 (eval at create (/Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:9:17)
14:35:09.949 at _err1 (eval at create (/Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:26:1)
14:35:09.957 at Promise.all.catch.then (/Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/copy-webpack-plugin/dist/index.js:91:9)
14:35:09.957 at <anonymous>
ayhome
- 发布:2020-12-08 14:41
- 更新:2021-01-01 12:06
- 阅读:778
2 个回复
6***@qq.com
兄弟,找到原因了吗
1***@qq.com
我也遇到这个问题了,怎么解决的