hera icon indicating copy to clipboard operation
hera copied to clipboard

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

Open stevekeol opened this issue 3 years ago • 0 comments

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

image

即:

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

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

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

stevekeol avatar Jul 01 '21 08:07 stevekeol