123456111
123456111
  • 发布:2020-04-11 11:06
  • 更新:2020-04-11 11:06
  • 阅读:919

hbulider 更新后运行到自定义基座报错

分类:uni-app

详细问题描述

hbulider 更新后运行到自定义基座报错
在## 2.6.8.20200330这个版本时运行到自定义基座可以正常运行,升级到## 2.6.9.20200403 和 ## 2.6.11.20200409 这个版本之后,运行到自定义基座报错如下:
11:00:44.423 正在编译中...
11:00:53.702 Module build failed (from ./node_modules/@dcloudio/webpack-uni-pages-loader/lib/index.js):
11:00:53.702 TypeError: Cannot read property 'nvue' of undefined
11:00:53.709 at module.exports (K:\HBuilderX.2.1.3.20190723.full\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\webpack-uni-pages-loader\lib\platforms\app-plus\index.v3.js:86:35)
11:00:53.710 at module.exports (K:\HBuilderX.2.1.3.20190723.full\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\webpack-uni-pages-loader\lib\platforms\app-plus\index.js:502:33)
11:00:53.715 at Object.module.exports (K:\HBuilderX.2.1.3.20190723.full\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\webpack-uni-pages-loader\lib\index-new.js:86:71)
11:00:53.716 at Object.module.exports (K:\HBuilderX.2.1.3.20190723.full\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\webpack-uni-pages-loader\lib\index.js:49:35)
11:00:53.950 DONE Build complete. Watching for changes...
11:00:53.954 项目 '智慧社区' 编译成功。
11:00:53.956 Module build failed (from ./node_modules/@dcloudio/webpack-uni-pages-loader/lib/index.js):
11:00:53.957 TypeError: Cannot read property 'nvue' of undefined
11:00:53.960 at module.exports (K:\HBuilderX.2.1.3.20190723.full\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\webpack-uni-pages-loader\lib\platforms\app-plus\index.v3.js:86:35)
11:00:53.960 at module.exports (K:\HBuilderX.2.1.3.20190723.full\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\webpack-uni-pages-loader\lib\platforms\app-plus\index.js:502:33)
11:00:53.962 at Object.module.exports (K:\HBuilderX.2.1.3.20190723.full\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\webpack-uni-pages-loader\lib\index-new.js:86:71)
11:00:53.982 at Object.module.exports (K:\HBuilderX.2.1.3.20190723.full\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\webpack-uni-pages-loader\lib\index.js:49:35)
11:00:53.985 ERROR Build failed with errors.
11:00:54.532 正在建立手机连接...

[内容]

重现步骤

[步骤]

[结果]

[期望]

[如果语言难以表述清晰,拍一个视频或截图,有图有真相]

IDE运行环境说明

[HBuilder 或 HBuilderX。如果你用其他工具开发uni-app,也需要在此说明]

[IDE版本号]

[windows版本号]

[mac版本号]

uni-app运行环境说明

[运行端是h5或app或某个小程序?]

[运行端版本号]

[项目是cli创建的还是HBuilderX创建的?如果是cli创建的,请更新到最新版cli再试]

[编译模式说明:自定义组件模式?纯nvue模式?v3模式?]

App运行环境说明

[Android版本号]

[iOS版本号]

[手机型号]

[模拟器型号]

附件

[IDE问题请提供HBuilderX运行日志。菜单帮助-查看运行日志,点右键打开文件所在目录,将log文件压缩成zip包上传]

[App问题请提供可重现问题的代码片段,你补充的细一点,问题就解决的快一点]

[App安装包或H5地址]

[可重现代码片段]

联系方式

[QQ]

2020-04-11 11:06 负责人:无 分享
已邀请:

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