HXD3D0424
HXD3D0424
  • 发布:2020-04-03 23:58
  • 更新:2020-04-22 16:18
  • 阅读:1841

更新2.6.9问题反馈: 原2.6.8可正常编译的Uniapp在更新完HBuilder2.6.9后不能正常编译。报index.js nvue错误。

分类:uni-app
2020-04-03 23:58 负责人:无 分享
已邀请:
x***@qq.com

x***@qq.com - 疑问?的小纳?

这可能是个大问题,看的一脸懵,先用切回旧版用吧,默默等待官方关注你

DCloud_UNI_HDX

DCloud_UNI_HDX

检查 pages.json condition节点起始页是否存在

DCloud_UNI_HDX

DCloud_UNI_HDX

更新 HBuilderX 到 2.6.12+ 已优化编译器,这个问题是配置错误导致

pages.json condition['list'][current]['path']: 需在 pages 数组中

HXD3D0424

HXD3D0424 (作者) - 京局石段西红柿

输出错误内容:
Module build failed (from ./node_modules/@dcloudio/webpack-uni-pages-loader/lib/index.js):
09:18:44.701 TypeError: Cannot read property 'nvue' of undefined
09:18:44.701 at module.exports (D:\Software\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\webpack-uni-pages-loader\lib\platforms\app-plus\index.v3.js:86:35)
09:18:44.717 at module.exports (D:\Software\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\webpack-uni-pages-loader\lib\platforms\app-plus\index.js:502:33)
09:18:44.717 at Object.module.exports (D:\Software\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\webpack-uni-pages-loader\lib\index-new.js:86:71)
09:18:44.717 at Object.module.exports (D:\Software\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\webpack-uni-pages-loader\lib\index.js:49:35)
09:18:44.717 Module build failed (from ./node_modules/@dcloudio/webpack-uni-pages-loader/lib/index.js):
09:18:44.733 TypeError: Cannot read property 'nvue' of undefined
09:18:44.733 at module.exports (D:\Software\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\webpack-uni-pages-loader\lib\platforms\app-plus\index.v3.js:86:35)
09:18:44.733 at module.exports (D:\Software\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\webpack-uni-pages-loader\lib\platforms\app-plus\index.js:502:33)
09:18:44.748 at Object.module.exports (D:\Software\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\webpack-uni-pages-loader\lib\index-new.js:86:71)
09:18:44.748 at Object.module.exports (D:\Software\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\webpack-uni-pages-loader\lib\index.js:49:35)
09:18:44.748 ERROR Build failed with errors.

DCloud_UNI_GSQ

DCloud_UNI_GSQ

能否提供一个示例工程,我来排查一下

要回复问题请先登录注册