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

Missing modules? #184

Closed
dosaki opened this issue Jul 25, 2016 · 4 comments
Closed

Missing modules? #184

dosaki opened this issue Jul 25, 2016 · 4 comments

Comments

@dosaki
Copy link

dosaki commented Jul 25, 2016

Hi,

When running create-react-app I'm getting errors related to missing modules.
The ones I'm getting are:

  • jsonfile
  • path-is-absolute
  • klaw

and optional dependency:

  • fsevents
@dosaki dosaki changed the title MIssing modules? Missing modules? Jul 25, 2016
@gaearon
Copy link
Contributor

gaearon commented Jul 25, 2016

This most likely means your npm install didn’t finish for some reason (network error?)
Can you try re-running it in your project folder?

@dosaki
Copy link
Author

dosaki commented Jul 25, 2016

Doesn't look like it, @gaearon.
This is exactly what I did:

sudo npm install -g create-react-app

and I get this log:

npm http GET https://registry.npmjs.org/create-react-app
npm http 304 https://registry.npmjs.org/create-react-app
npm WARN engine [email protected]: wanted: {"node":">=4.0.0"} (current: {"node":"v0.10.25","npm":"1.3.10"})
npm http GET https://registry.npmjs.org/chalk
npm http GET https://registry.npmjs.org/cross-spawn
npm http GET https://registry.npmjs.org/minimist
npm http GET https://registry.npmjs.org/semver
npm http 304 https://registry.npmjs.org/chalk
npm http 304 https://registry.npmjs.org/semver
npm http 200 https://registry.npmjs.org/minimist
npm http 200 https://registry.npmjs.org/cross-spawn
npm http GET https://registry.npmjs.org/ansi-styles
npm http GET https://registry.npmjs.org/escape-string-regexp
npm http GET https://registry.npmjs.org/has-ansi
npm http GET https://registry.npmjs.org/strip-ansi
npm http GET https://registry.npmjs.org/supports-color
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/which
npm http 304 https://registry.npmjs.org/escape-string-regexp
npm http 200 https://registry.npmjs.org/has-ansi
npm http 304 https://registry.npmjs.org/strip-ansi
npm http 304 https://registry.npmjs.org/ansi-styles
npm http 304 https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/which
npm http 304 https://registry.npmjs.org/supports-color
npm http GET https://registry.npmjs.org/isexe
npm http GET https://registry.npmjs.org/ansi-regex
npm http GET https://registry.npmjs.org/pseudomap
npm http GET https://registry.npmjs.org/yallist
npm http 304 https://registry.npmjs.org/isexe
npm http 304 https://registry.npmjs.org/ansi-regex
npm http 200 https://registry.npmjs.org/pseudomap
npm http 304 https://registry.npmjs.org/yallist
/usr/local/bin/create-react-app -> /usr/local/lib/node_modules/create-react-app/index.js
[email protected] /usr/local/lib/node_modules/create-react-app
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])

Then I do

create-react-app my-app

And it complains about missing dependencies (one at a time as I install them manually)

@dosaki
Copy link
Author

dosaki commented Jul 25, 2016

This happens when the node version is below version 4.

@dosaki dosaki closed this as completed Jul 25, 2016
@gaearon
Copy link
Contributor

gaearon commented Jul 25, 2016

Ooh, I see. We added a proper check in master so next version will warn that Node < 4 is unsupported. Sorry for the trouble!

@lock lock bot locked and limited conversation to collaborators Jan 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants