找回密码
 立即注册
搜索

开发问题 ReferenceError: $app_define$ is not defined

0
回复
1461
查看
[复制链接]

2

主题

2

帖子

20

积分

 楼主| 2021-3-15 15:13:29 显示全部楼层 |阅读模式

components/tabbar/index.js:525: ReferenceError: $app_define$ is not defined

ReferenceError: $app_define$ is not defined

    at Object.../../../../../../Applications/快应用开发工具.app/Contents/Resources/app/extensions/hap-debugger/node_modules/@hap-toolkit/dsl-xvm/lib/loaders/ux-loader.js?cwd=/Users/mac/Downloads/原mac/快应用/free_book&type=import!./src/components/tabbar/index.ux?uxType=comp&name=my-tabbar (components/tabbar/index.js:525:1)

    at __webpack_require__ (Home/index.js:3435:41)

    at Object../src/Home/index.ux?uxType=page (Home/index.js:3389:1)

    at __webpack_require__ (Home/index.js:3435:41)

    at checkDeferredModulesImpl (Home/index.js:3525:24)

    at webpackJsonpCallback (Home/index.js:3507:20)

    at components/tabbar/index.js:1:228

    at components/tabbar/index.js:538:4

    at infras.js:1:6560

    at F (infras.js:1:6571)

com.eclipsesource.v8.V8ScriptExecutionException

 at com.eclipsesource.v8.V8._executeVoidFunction(Native Method)

 at com.eclipsesource.v8.V8.executeVoidFunction(SourceFile:1154)

 at com.eclipsesource.v8.V8Object.executeVoidFunction(SourceFile:435)

 at org.hapjs.render.jsruntime.JsThread.b(SourceFile:1078)

 at org.hapjs.render.jsruntime.JsThread.a(SourceFile:94)

 at org.hapjs.render.jsruntime.JsThread$a.handleMessage(SourceFile:285)

 at android.os.Handler.dispatchMessage(Handler.java:107)

 at android.os.Looper.loop(Looper.java:224)

 at android.os.HandlerThread.run(HandlerThread.java:67)


怎么找到错误出现的地方?

回复

使用道具 举报

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