react-starter-kit icon indicating copy to clipboard operation
react-starter-kit copied to clipboard

The engine "node" is incompatible with this module. Expected version "10". Got "18.14.0"

Open BGriffy78 opened this issue 3 years ago • 5 comments

Hi All,

Just found your repo... Look's exciting but I'm afraid I fell at the first hurdle.

In following the QuickStart guide, on the yarn install command, I receive the following error The engine node is incompatible with this module. Expected version 10. Got 18.14.0.

However, on the readme it says I need node 18+.

In searching the issues, I see a related issue from 2019 concerning installing vs build tools. Is this still a current resolution? I tried installing this package but it failed.

How can I get past this error?

Many Thanks,

BW.

BGriffy78 avatar Apr 24 '23 16:04 BGriffy78

I have the same problem

AlexJanow avatar Apr 25 '23 20:04 AlexJanow

I'm wondering, how to reproduce it... At least on Codesandbox there is no such issue, nor can I reproduce it locally.

https://codesandbox.io/p/github/kriasoft/react-starter-kit/main

koistya avatar Apr 27 '23 17:04 koistya

hey @BigWinston, @AlexJanow

I also tried to repro this issue on my local machine but I am not found any error related to node 18. let me know guys if you face this issue.

Happy to help...

jaypatel9800 avatar May 20 '23 09:05 jaypatel9800

I too got the same error


~/tmp
$ git clone git clone https://github.com/kriasoft/react-firebase-starter.git example

~/tmp
$ git clone https://github.com/kriasoft/react-firebase-starter.git example
Cloning into 'example'...
remote: Enumerating objects: 3792, done.
remote: Counting objects: 100% (148/148), done.
remote: Compressing objects: 100% (98/98), done.
remote: Total 3792 (delta 102), reused 90 (delta 50), pack-reused 3644
Receiving objects: 100% (3792/3792), 3.03 MiB | 7.93 MiB/s, done.
Resolving deltas: 100% (2316/2316), done.

~/tmp
$ cd example/

~/tmp/example on master
$ yarn setup
yarn run v1.22.19
warning ../../package.json: No license field
error [email protected]: The engine "node" is incompatible with this module. Expected version "10". Got "18.7.0"
error Commands cannot run with an incompatible environment.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

~/tmp/example on master
$ yarn start
yarn run v1.22.19
warning ../../package.json: No license field
error [email protected]: The engine "node" is incompatible with this module. Expected version "10". Got "18.7.0"
error Commands cannot run with an incompatible environment.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

~/tmp/example on master
$ node --version
v18.7.0

~/tmp/example on master
$ 

bsr203 avatar Aug 25 '23 18:08 bsr203

@bsr203 the GitHub repo URL in your example is invalid, I believe. Try this instead:

$ git clone -o seed -b main --single-branch https://github.com/kriasoft/react-starter-kit example
$ cd ./example
$ corepack enable
$ yarn install
$ yarn workspace app start

koistya avatar Dec 04 '23 11:12 koistya