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

Node 12 #174

Open
fernandoacorreia opened this issue Sep 30, 2019 · 0 comments · May be fixed by #175
Open

Node 12 #174

fernandoacorreia opened this issue Sep 30, 2019 · 0 comments · May be fixed by #175

Comments

@fernandoacorreia
Copy link

fernandoacorreia commented Sep 30, 2019

Node v12 was released in Apr 2019. The current version is 12.11.

The current version (11.10.0) has issues with create-react-app:

❯ node --version
v11.10.0

❯ npx create-react-app my-typescript-app --typescript
npx: installed 91 in 11.043s

Creating a new React app in /src/my-typescript-app.

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

yarn add v1.13.0
[1/4] Resolving packages...
[2/4] Fetching packages...
error @typescript-eslint/eslint-plugin@2.3.0: The engine "node" is incompatible with this module. Expected version "^8.10.0 || ^10.13.0 || >=11.10.1". Got "11.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 @types/node @types/react @types/react-dom @types/jest typescript --cwd /src/my-typescript-app has failed.

Deleting generated file... package.json
Deleting generated file... yarn.lock
Deleting my-typescript-app/ from /src
Done.

Expected version "^8.10.0 || ^10.13.0 || >=11.10.1". Got "11.10.0"

@fernandoacorreia fernandoacorreia linked a pull request Sep 30, 2019 that will close this issue
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 a pull request may close this issue.

1 participant