React Native错误集Import fails with "Failed to execute 'ImportScripts' on 'WorkerGlo

Posted xjf125

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了React Native错误集Import fails with "Failed to execute 'ImportScripts' on 'WorkerGlo相关的知识,希望对你有一定的参考价值。

  错误1、Import fails with "Failed to execute ‘ImportScripts‘ on ‘WorkerGlobalScope‘"

  解决1、如果是在Degbug模式下,关闭turn off Debug JS Remotely。再重新运行即可。

  

  错误2:rn报错 unhandled JS Exception: Requiring unknown module "49". if you are sure the module is there,t...

  解决2:如果是在npm install之后报上述错误,是因为代码reload了 没有重启服务导致。关闭终端,重新运行即可。

以上是关于React Native错误集Import fails with "Failed to execute 'ImportScripts' on 'WorkerGlo的主要内容,如果未能解决你的问题,请参考以下文章