postmanlabs / covid-19-apis

Postman COVID-19 API Resource Center—API collections to help in the COVID-19 fight.
https://covid-19-apis.postman.com/
MIT License
129 stars 36 forks source link

[MARKENG-479][c] node & npm versions; usage documentation; ensure versions #331

Closed oswish closed 3 years ago

oswish commented 3 years ago

Ticket/Issue: MARKENG-479

Root Cause When you use nvm to switch node versions, you’re also switching npm versions. If you switch to a new version of node w/ nvm, you will also switch to an unsupported version of npm that will generate a new package-lock file when you npm i.

Solution Description Branched from develop, this adds documentation to the README file on how to use nvm to automatically switch to the correct version of node & npm when building & running the application.

demo-ensure-node-npm-versions