Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added missing dependency 'core-js' #417

Closed

Conversation

AndrewKishino
Copy link

Upon cloning the directory and running npm install and npm start you receive an error for a missing module:

Error: Cannot find module 'core-js/library/fn/is-iterable'
    at Function.Module._resolveFilename (module.js:339:15)
    at Function.Module._load (module.js:290:25)
    at Module.require (module.js:367:17)
    at require (internal/module.js:16:19)
    at Object.<anonymous> (/Users/andrewkishino/Documents/project_templates/react-template/build/webpack:/external "core-js/library/fn/is-iterable":1:1)
    at __webpack_require__ (/Users/andrewkishino/Documents/project_templates/react-template/build/webpack:/webpack/bootstrap 416f15863871a726e916:19:1)
    at Object.<anonymous> (/Users/andrewkishino/Documents/project_templates/react-template/build/webpack:/~/babel-runtime/core-js/is-iterable.js:1:19)
    at __webpack_require__ (/Users/andrewkishino/Documents/project_templates/react-template/build/webpack:/webpack/bootstrap 416f15863871a726e916:19:1)
    at Object.<anonymous> (/Users/andrewkishino/Documents/project_templates/react-template/build/webpack:/~/babel-runtime/helpers/slicedToArray.js:5:1)
    at __webpack_require__ (/Users/andrewkishino/Documents/project_templates/react-template/build/webpack:/webpack/bootstrap 416f15863871a726e916:19:1)

The issue is due to 'core-js' missing from package.json.

@koistya koistya closed this in ad3147c Jan 25, 2016
@koistya
Copy link
Member

koistya commented Jan 25, 2016

This dependency is not used in the project. Maybe you need to remove node_modules folder and run npm install again..

@gentisaliu
Copy link

I get this error too.

@koistya
Copy link
Member

koistya commented Jan 27, 2016

@gentisaliu can you please check what your Node.js and npm versions are?

$ node --version && npm --version

@gentisaliu
Copy link

node: v4.2.6
npm: 2.14.12

@koistya
Copy link
Member

koistya commented Jan 27, 2016

Perhaps npm v2.x is not compatible with some of the packages referenced in the project. Can you update it to v3.x?

$ npm install -g npm@latest
$ rm -rf node_modules
$ npm install

@fpetitit
Copy link

Using Node 5/NPM 3 instead of 4/2 has solved the problem for me.
Thanks !

inian referenced this pull request Feb 21, 2016
devonzuegel pushed a commit to devonzuegel/cosmocat that referenced this pull request Nov 1, 2016
godkingkns added a commit to godkingkns/react-starter-kit that referenced this pull request Mar 18, 2022
osephson added a commit to osephson/saas-react-boilerplate that referenced this pull request May 7, 2022
robertomartinez09515 added a commit to robertomartinez09515/react-dashboard that referenced this pull request Jul 18, 2022
superdev905 added a commit to superdev905/react-dashboard that referenced this pull request Jul 26, 2022
fly0305 pushed a commit to fly0305/admin-dashboard that referenced this pull request Aug 14, 2022
brightmanforever022 added a commit to brightmanforever022/react-starter-kit that referenced this pull request Jan 31, 2023
kranthi186 added a commit to kranthi186/react-starter-kit that referenced this pull request Feb 2, 2023
goal-dev added a commit to goal-dev/react-dashboard that referenced this pull request Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants