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的主要内容,如果未能解决你的问题,请参考以下文章

Realm 与 React Native 0.29 兼容吗?

使用 Jest 和 @testing-library/react-native 测试 React Native 项目时出现“SyntaxError: Cannot use import stateme

React Native错误集* What went wrong: Execution failed for task ':app:installDebug'.

[React Native] Reduce Long Import Statements in React Native with Absolute Imports

如何修复React-Native中的“路由组件'Principal'必须是React组件”错误

如何在React Native上创建多个屏幕?