fafala
fafala
  • 发布:2020-05-29 18:58
  • 更新:2020-06-17 10:19
  • 阅读:908

uniapp编译报错

分类:HBuilderX

Error Reporting...
18:43:44.700 Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-hbuilderx/packages/webpack-uni-nvue-loader/lib/style.js):
18:43:44.705 TypeError: Cannot read property '1' of null
18:43:44.709 at transition (D:\HBuilderX.2.4.6.20191210.full\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-hbuilderx\packages\weex-styler\lib\shorthand-parser.js:14:8)
18:43:44.714 at declarations.reduce (D:\HBuilderX.2.4.6.20191210.full\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-hbuilderx\packages\weex-styler\lib\shorthand-parser.js:54:28)
18:43:44.719 at Array.reduce (<anonymous>)
18:43:44.725 at module.exports (D:\HBuilderX.2.4.6.20191210.full\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-hbuilderx\packages\weex-styler\lib\shorthand-parser.js:51:23)
18:43:44.731 at D:\HBuilderX.2.4.6.20191210.full\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-hbuilderx\packages\weex-styler\index.js:62:31
18:43:44.737 at Array.forEach (<anonymous>)
18:43:44.742 at Object.parse (D:\HBuilderX.2.4.6.20191210.full\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-hbuilderx\packages\weex-styler\index.js:55:26)
18:43:44.749 at genStyleString (D:\HBuilderX.2.4.6.20191210.full\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-hbuilderx\packages\webpack-uni-nvue-loader\lib\style.js:36:12)
18:43:44.758 at Object.module.exports (D:\HBuilderX.2.4.6.20191210.full\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-hbuilderx\packages\webpack-uni-nvue-loader\lib\style.js:8:34)
18:43:51.390 DONE Build complete. Watching for changes...

2020-05-29 18:58 负责人:无 分享
已邀请:
6***@qq.com

6***@qq.com - 一个菜菜的前端

我也遇到了 提交打包提不上去

6***@qq.com

6***@qq.com - 一个菜菜的前端

解决了么 大佬

x***@126.com

x***@126.com

我也是这个问题,只有有nvue页面就报错,空白的都不行。

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