[英]Cannot find module 'core-js/fn/array/values' in react native
Hi I have just started working on react-native
platform, followed this tutorial https://facebook.github.io/react-native/docs/getting-started.html I am getting this error.嗨,我刚刚开始在
react-native
平台上工作,按照本教程https://facebook.github.io/react-native/docs/getting-started.html我收到此错误。
E:\React Programming\AwesomeProject>react-native run-android
module.js:327
throw err;
^
Error: Cannot find module 'core-js/fn/array/values'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (E:\React Programming\AwesomeProject\node_modules\reac
t-native\packager\babelRegisterOnly.js:11:27)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
E:\React Programming\AwesomeProject>
remove a reference to core-js/fn/array/values
, probably you have a删除对
core-js/fn/array/values
的引用,可能你有一个
require('core-js/fn/array/values')
somewhere up in your code.在你的代码中的某个地方。
Remove that line.删除该行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.