CircleCI-Public / node-orb

An orb for working with Node.js on CircleCI
https://circleci.com/orbs/registry/orb/circleci/node
MIT License
52 stars 80 forks source link

Allow LTS to be installed on Windows #144

Closed Jaryt closed 1 month ago

Jaryt commented 2 years ago

Orb version: 5.0.1

What happened:

When installing lts version of node on Windows, the message Node.js v--lts.0.0 is only available in 32-bit. will be output. nvm install --lts does not work with nvm on windows server.

Expected behavior:

lts to install

Additional Information:

Similar issue: https://github.com/ampproject/amphtml/issues/17538

marboledacci commented 1 month ago

The nvm for windows is different to the others, this is the one for windows https://github.com/coreybutler/nvm-windows. The command to use on windows versions is nvm install lts.