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

Add required version of Node to engines in package.json #1244

Closed
aral opened this issue Feb 8, 2023 · 1 comment
Closed

Add required version of Node to engines in package.json #1244

aral opened this issue Feb 8, 2023 · 1 comment

Comments

@aral
Copy link
Contributor

aral commented Feb 8, 2023

Through trial-and-error (going back from version 19 to 15), I found that npm install only works on Node 15.

This should be documented in the readme and also added to the package.json file under engines so new developers are made aware that they likely need to switch to an earlier version of Node than what they normally use.

@aral aral changed the title Document what version of node/npm is required + add to engines in package.json Add required version of Node to engines in package.json Feb 8, 2023
@aral
Copy link
Contributor Author

aral commented Feb 8, 2023

Closing this as I just tested and npm does not give you an error before installing dependencies even if you have an invalid Node/npm version installed.

See: npm/cli#2175

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