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

DOCS: Version 9.10.0 doesn't work as stated in docs #7181

Closed
JESii opened this issue Jun 6, 2019 · 3 comments · Fixed by #7182
Closed

DOCS: Version 9.10.0 doesn't work as stated in docs #7181

JESii opened this issue Jun 6, 2019 · 3 comments · Fixed by #7182

Comments

@JESii
Copy link
Contributor

JESii commented Jun 6, 2019

Is this a bug report?

Documentation bug report - initial installation failed

Did you try recovering your dependencies?

No - brand new installation

Which terms did you search for in User Guide?

N/A - brand new installation

Environment

Cannot do this; create-react-app removed the project directory because of errors

Steps to Reproduce

  1. Have node 9.10.0 installed
  2. npx create-react-app react-workspace

Expected Behavior

Should have installed as 9.10.0 is later than 8.10.0

Actual Behavior

Failed with the following errors

npx create-react-app react-workspace

Creating a new React app in /Users/jseidel/dev/react-workspace.

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts...

yarn add v1.16.0
warning ../../package.json: No license field
info No lockfile found.
[1/4] 🔍  Resolving packages...
warning react-scripts > fsevents@2.0.6: Please update: there are crash fixes
warning react-scripts > postcss-preset-env > postcss-color-functional-notation > postcss-values-parser > flatten@1.0.2: I wrote this module a very long time ago; you should use something else.
warning react-scripts > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
[2/4] 🚚  Fetching packages...
info fsevents@2.0.6: The engine "node" is incompatible with this module. Expected version "^8.16.0 || ^10.6.0 || >=11.0.0". Got "9.10.0"
info "fsevents@2.0.6" is an optional dependency and failed compatibility check. Excluding it from installation.
error sane@4.1.0: The engine "node" is incompatible with this module. Expected version "6.* || 8.* || >= 10.*". Got "9.10.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

Aborting installation.
  yarnpkg add --exact react react-dom react-scripts --cwd /Users/jseidel/dev/react-workspace has failed.

Deleting generated file... package.json
Deleting react-workspace / from /Users/jseidel/dev
Done.

image

Reproducible Demo

N/A -- project failed to create

JESii added a commit to JESii/create-react-app that referenced this issue Jun 6, 2019
@ashfaqnisar
Copy link

Did you find the solution for this?

@ashfaqnisar
Copy link

I was able to solve this problem by updating the nodeJS(which also updates the npm) and yarn

@bugzpodder
Copy link

Yes, please use node v10 or v8 instead of v9.

@lock lock bot locked and limited conversation to collaborators Jun 12, 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

Successfully merging a pull request may close this issue.

3 participants