蛋蛋隐隐作疼
蛋蛋隐隐作疼
  • 发布:2019-04-11 10:53
  • 更新:2019-05-10 14:48
  • 阅读:5711

HBuilder 1.8.8 运行到真机失败 报Module build failed

分类:HBuilderX

可以打开APP,但是底部的tabbar可以看到但无法点击,中间的内容没有渲染出来,顶部标题栏也没有,都是一片空白。
chrome浏览器可以调试,APP则不行。

操作系统:Windows 10
回退到1.8.7版本是正常在安卓真机调试的。

10:44:57.622 Module build failed (from ./node_modules/vue-loader/lib/loaders/templateLoader.js):  
10:44:57.623 TypeError: Got a MemberExpression for MemberExpression property  
10:44:57.630     at Generator.MemberExpression (F:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\node_modules\@babel\generator\lib\generators\expressions.js:264:11)  
10:44:57.643     at withSource (F:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\node_modules\@babel\generator\lib\printer.js:299:19)  
10:44:57.650     at Buffer.withSource (F:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\node_modules\@babel\generator\lib\buffer.js:185:28)  
10:44:57.651     at Generator.withSource (F:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\node_modules\@babel\generator\lib\printer.js:178:15)  
10:44:57.656     at Generator.print (F:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\node_modules\@babel\generator\lib\printer.js:298:10)  
10:44:57.657     at Generator.generate (F:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\node_modules\@babel\generator\lib\printer.js:70:10)  
10:44:57.662     at Generator.generate (F:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\node_modules\@babel\generator\lib\index.js:24:18)  
10:44:57.663     at _default (F:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\node_modules\@babel\generator\lib\index.js:91:14)  
10:44:57.668     at getCode (F:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\util.js:25:10)  
10:44:57.674     at genCode (F:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\util.js:66:14)  
10:44:57.675     at getForExtra (F:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\script\traverse\render-list.js:63:17)  
10:44:57.679     at traverseRenderList (F:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\script\traverse\render-list.js:124:15)  
10:44:57.680     at Object.CallExpression (F:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\lib\script\traverse\visitor.js:94:11)  
10:44:57.686     at NodePath._call (F:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\node_modules\@babel\traverse\lib\path\context.js:53:20)  
10:44:57.691     at NodePath.call (F:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\node_modules\@babel\traverse\lib\path\context.js:40:17)  
10:44:57.692     at NodePath.visit (F:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\uni-template-compiler\node_modules\@babel\traverse\lib\path\context.js:88:12)  
10:44:57.696  ERROR  Error: Build failed with errors.  
10:44:57.697 Error: Build failed with errors.  
10:44:57.703     at webpack (F:\HBuilderX\plugins\uniapp-cli\node_modules\@dcloudio\vue-cli-plugin-uni\commands\build.js:104:23)  
10:44:57.710     at Watching.compiler.watch [as handler] (F:\HBuilderX\plugins\uniapp-cli\node_modules\webpack\lib\MultiCompiler.js:218:10)  
10:44:57.710     at compiler.hooks.done.callAsync (F:\HBuilderX\plugins\uniapp-cli\node_modules\webpack\lib\Watching.js:98:9)  
10:44:57.715     at _promise1.then._result1 (eval at create (F:\HBuilderX\plugins\uniapp-cli\node_modules\tapable\lib\HookCodeFactory.js:32:10), <anonymous>:40:1)  
10:44:57.716     at <anonymous>  
10:44:57.721     at process._tickCallback (internal/process/next_tick.js:188:7)  
10:44:58.315 正在建立手机连接...  
10:45:01.284 检测到HBuilder调试基座有更新,正在删除旧版本...  
10:45:02.361 删除旧版HBuilder调试基座成功  
10:45:02.382 正在安装手机端HBuilder调试基座...  
10:45:16.269 Success  
10:45:16.311 3094 KB/s (36192432 bytes in 11.420s)  
10:45:16.625 正在同步手机端程序文件...  
10:45:17.313 同步手机端程序文件完成  
10:45:17.690 正在启动HBuilder调试基座...
2019-04-11 10:53 负责人:无 分享
已邀请:
7***@qq.com

7***@qq.com

遇到和你一样的问题,解决了么 兄弟

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