docker-npm icon indicating copy to clipboard operation
docker-npm copied to clipboard

Node 12

Open fernandoacorreia opened this issue 5 years ago • 0 comments

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/[email protected]: 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 avatar Sep 30 '19 01:09 fernandoacorreia