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

Missing nodejs compatibility; add engines data to package.json #17

Open
ccjoel opened this issue Apr 22, 2020 · 0 comments
Open

Missing nodejs compatibility; add engines data to package.json #17

ccjoel opened this issue Apr 22, 2020 · 0 comments

Comments

@ccjoel
Copy link

ccjoel commented Apr 22, 2020

I was setting up the project locally, and npm install failed with a lot of errors.

The problem was that I was using node v12.16.1 on my system.

Which version should I use in order for this step to be successful? Well... I checked the Dockerfile contents and saw that we pull a node:8 image. I switched my node version to 8 and voila- it worked.

package.json allows the inclusion of a field to describe compatibility for runtimes and versions. This can be guidance, or can be set to warn users, or possibly error. This issue is to add this field to describe which versions of node/npm are compatible with this project.

See engines.

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