Closed BigWinston closed 10 months ago
I have the same problem
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
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...
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 app@0.0.0: 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 app@0.0.0: 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 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
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 errorThe 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.