zenetio / Install-VScode-On-TX2

How to install VScode on Nvidia TX2
MIT License
24 stars 7 forks source link

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

Open tobidelbruck opened 4 months ago

tobidelbruck commented 4 months ago

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 > glob@7.2.3: Glob versions prior to v9 are no longer supported
[2/4] Fetching packages...
error fs-extra@11.2.0: 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....