我从乌龟硬币钱包分叉,我想运行expo客户端。但是,在cli expo start
中执行之后,localhost启动网站,构建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."]}.
发生此错误的原因是,您在文件中进行的导入已以某种方式创建了循环依赖性。请check and verify all your imports carefully
,您会好起来的!