You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Checking NodeJS
Bullet Train requires Node.js 20.15.0 and `node -v` returns 16.17.0.
Try proceeding with Node 16.17.0 anyway? [Y/n]
n
You've chosen not to continue with Node 16.17.0. Goodbye.
Checking yarn
Bullet Train requires yarn 4.2.2 and `yarn -v` returns 1.22.19.
Try proceeding with yarn 1.22.19 anyway? [Y/n]
n
You've chosen not to continue with yarn 1.22.19. Goodbye.
And when I try to run yarn set version 4.2.2 I get the following:
error This project's package.json defines "packageManager": "[email protected]". However the current global version of Yarn is 1.22.22.
Presence of the "packageManager" field indicates that the project is meant to be used with Corepack, a tool included by default with all official Node.js distributions starting from 16.9 and 14.19.
Corepack must currently be enabled by running corepack enable in your terminal. For more information, check out https://yarnpkg.com/corepack.
Except that running corepack enable doesn't fix anything!
The text was updated successfully, but these errors were encountered:
@andrewculver like #1606 I think the question here is what method we'd use to try to handle installing node for people.
I'm surprised that corepack enable didn't do anything. When I've switched node versions locally it's worked just fine to do npm install -g yarn && corepack enable.
$ ./bin/setup-scripts/check_yarn.rb
--------------------------------------------------------------------------------
Checking yarn
No preset version installed for command yarn
Please install a version by running one of the following:
asdf install nodejs 20.15.0
or add one of the following versions in your config file at /Users/jgreen/.tool-versions
nodejs 20.5.1
nodejs 20.6.1
nodejs 20.7.0
nodejs 20.8.0
nodejs 20.8.1
You don't have yarn installed. We can't proceed without it. Try `npm install -g yarn && corepack enable`.
And when I try to run
yarn set version 4.2.2
I get the following:Except that running
corepack enable
doesn't fix anything!The text was updated successfully, but these errors were encountered: