简体   繁体   English

启动后如何修复 Expo CLI 中的错误?

[英]How Can I fix error in Expo CLI after starting?

I"m forking from turtle-coin wallet and I want run expo client. However, after i do in cli expo start , localhost launches website, builds JavaScript, etc., but there's an error there:我从 turtle-coin 钱包分叉,我想运行 expo 客户端。但是,在我在 cli expo start中执行后,本地主机启动网站,构建 JavaScript 等,但那里有一个错误:

{"type":"client_log","level":"warn","data":["Require cycle: node_modules\\react-native-crypto\\index.js -> node_modules\\react-native-randombytes\\index.js -> node_modules\\sjcl\\sjcl.js -> node_modules\\react-native-crypto\\index.js\n\nRequire cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle."]}.

This error occurs because the imports that you've made in your files have somehow created a cyclic dependency.发生此错误是因为您在文件中进行的导入以某种方式创建了循环依赖性。 Please check and verify all your imports carefully and you'll be good go!请仔细check and verify all your imports carefully ,一切顺利!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 通过 EXPO-CLI 启动 React Native Project 时遇到错误。 我是新来的反应原生 - I am facing error while starting React Native Project through EXPO-CLI. I am new to react native 安装 React 后如何修复此 npm 启动错误? - How can I fix this npm start error after installing React? 由于 gyp 错误,我无法运行任何项目。 我该如何解决这个问题:npm ERR! gyp 动词 cli - I cannot run any project because of gyp error. How can I fix this: npm ERR! gyp verb cli 我可以在 expo 弹出后使用 expo 包吗 - Can I use expo packages after expo eject 我全局安装 expo-cli@6.0.5,然后我尝试安装“expo install expo-location”它给出了这个错误 - I Install expo-cli@6.0.5 globally, then I try to install 'expo install expo-location' it gives this error 错误:不是函数。 我该如何解决? - Error : is not a function. How can I fix it? 如何修复 overwritePermissions 错误? - How can I fix the overwritePermissions error? 如何在 WebGL 中修复此属性错误? - How can I fix this attribute error in WebGL? 如何在成功安装 sqlite3 后尝试运行代码时修复此“找不到模块错误”? - How can I fix this “module not found error” while trying to run the code after successfully installing sqlite3? 如何解决Automata FSM中的错误? - How can I fix the error in the Automata FSM?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM