Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于 "define is not defined" 的相关问题 #56

Open
stevekeol opened this issue Jul 1, 2021 · 0 comments
Open

关于 "define is not defined" 的相关问题 #56

stevekeol opened this issue Jul 1, 2021 · 0 comments

Comments

@stevekeol
Copy link

stevekeol commented Jul 1, 2021

我在尝试将Hera集成到ReactNative项目中时,成功打包后,在运行demoApp示例小程序时,报下列错误:

image

即:

  • "Uncaught ReferenceError: define is not defined"
  • "Uncaught ReferenceError: ServiceJSBridge is not defined"

不知道是Hera项目中demeApp示例小程序的版本问题,还是Hera中解析处理的问题,还是什么别的问题?

(直接将Hera打包成Android端的apk,确实是可运行不报错的;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant