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

yarn is too old, cannot be upgraded in place #4

Open
tobidelbruck opened this issue Jun 18, 2024 · 0 comments
Open

yarn is too old, cannot be upgraded in place #4

tobidelbruck opened this issue Jun 18, 2024 · 0 comments

Comments

@tobidelbruck
Copy link

Thanks for posting this!

All good in 2024 except that yarn is too old. Autoupgrade fails subsequently.

(torch) jetson@jetson-desktop:~/vscode$ yarn
yarn install v1.22.22
$ node build/npm/preinstall.js
*** Please use latest Node.js v20 LTS for development.

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
(torch) jetson@jetson-desktop:~/vscode$ 

Upgrade attempt does this:

yarn upgrade
yarn upgrade v1.22.22
[1/4] Resolving packages...
...
warning vscode-nls-dev > [email protected]: Glob versions prior to v9 are no longer supported
[2/4] Fetching packages...
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=14.14". Got "10.24.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/upgrade for documentation about this command.

Fixing these problems is past my skills since I never heard of most of these tools....

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

No branches or pull requests

1 participant