找回密码
 立即注册
搜索

互动交流 调试出现错误

2
回复
1962
查看
[复制链接]

1

主题

2

帖子

15

积分

 楼主| 2018-8-13 11:04:15 显示全部楼层 |阅读模式
undefined:313: Error: Cannot find module "!!../../node_modules/hap-toolkit/tools/packager/lib/json-loader.js!../../node_modules/hap-toolkit/tools/packager/lib/style-loader.js?index=0&type=styles!less-loader!../../node_modules/hap-toolkit/tools/packager/lib/fragment-loader.js?index=0&type=styles!./index.ux" Error: Cannot find module "!!../../node_modules/hap-toolkit/tools/packager/lib/json-loader.js!../../node_modules/hap-toolkit/tools/packager/lib/style-loader.js?index=0&type=styles!less-loader!../../node_modules/hap-toolkit/tools/packager/lib/fragment-loader.js?index=0&type=styles!./index.ux" at webpackMissingModule (eval at On (unknown source), :313:83) at Object.90 (eval at On (unknown source), :313:424) at __webpack_require__ (eval at On (unknown source), :26:30) at 0.Object.defineProperty.value (eval at On (unknown source), :69:18) at createPageHandler (eval at On (unknown source), :72:10) at eval (eval at On (unknown source), :432:12) at eval (eval at On (unknown source), :437:3) at eval (eval at On (unknown source), :440:4) at On (:3:5233) at Object.Tn [as createPage] (:3:5724) com.eclipsesource.v8.V8ScriptExecutionException at com.eclipsesource.v8.V8._executeVoidFunction(Native Method) at com.eclipsesource.v8.V8.executeVoidFunction(SourceFile:1004) at com.eclipsesource.v8.V8Object.executeVoidFunction(SourceFile:418) at org.hapjs.render.jsruntime.JsThread.b(SourceFile:559) at org.hapjs.render.jsruntime.JsThread.a(SourceFile:52) at org.hapjs.render.jsruntime.JsThread$a.handleMessage(SourceFile:204) at android.os.Handler.dispatchMessage(Handler.java:105) at android.os.Looper.loop(Looper.java:156) at android.os.HandlerThread.run(HandlerThread.java:61) 这是什么问题???
回复

使用道具 举报

0

主题

25

帖子

65

积分

2018-8-13 13:48:45 显示全部楼层
这是不是你使用了less之类的能力,但是没有intall less-loader, less的相关webpack依赖吧?
回复

使用道具 举报

1

主题

2

帖子

15

积分

 楼主| 2018-8-13 16:15:50 显示全部楼层
应该不是吧,好像是没有开启node.js
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册