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

.nvmrc version "lts/*" uses node v18 but manager module is expecting node 16^ #8421

Open
1 task done
carsso opened this issue Nov 22, 2022 · 0 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@carsso
Copy link
Member

carsso commented Nov 22, 2022

Is there an existing issue for this?

  • I have checked the existing issues

Describe the bug

.nvmrc version "lts/*" uses node v18 but manager module is expecting node 16

carsso@dev:~/dev/manager(master○) » nvm use
Found '/home/carsso/dev/manager/.nvmrc' with version <lts/*>
Now using node v18.12.1 (npm v8.19.2)
carsso@dev:~/dev/manager(master○) » yarn install
yarn install v1.22.19
[1/5] Validating package.json...
error manager@0.0.0: The engine "node" is incompatible with this module. Expected version "^16". Got "18.12.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Steps To Reproduce

Setup a fresh dev environment, run nvm use then yarn install as indicated here https://github.com/ovh/manager#install

The error error manager@0.0.0: The engine "node" is incompatible with this module. Expected version "^16". Got "18.12.1"will appear.

Expected Behavior

The nvm use command should either install nvm 16 (end of life since 1 month, security end of life is in 9 months, cf https://endoflife.date/nodejs) or manager package should be compatible with node 18 (current lts).

Fix suggested in #8422 uses nodejs v16 in .nvmrc

@carsso carsso added the bug Something isn't working label Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant