找不到模块该如何处理?



  • 找不到模块该如何处理?

    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-nativeAPP\marvel-master\node_modules\react-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)


  • administrators

    删掉node_modules目录然后重新npm install



  • 谢了。运行起了。


登录后回复