Question: is there an expected Node/npm version for development?
See original GitHub issueI ran npm i
and my package-lock.json
was modified significantly from what’s in the repo. This generally happens if you run npm i
using a different version of npm from what was used when package-lock.json
was last updated. I’m using Node v12.7.0 and npm v6.13.1.
I looked into package.json
file hoping to find the engines field which would tell me what version of Node and npm is expected but didn’t find it.
Suggestion: specify expected version of Node and npm in engines
field of package.json
.
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
npm does not support Node.js v10.19.0 · Issue #3644 - GitHub
Details. I cannot access npm right now. My node version is 10.19.0, and my npm version is 6.14. Here is the error message...
Read more >Error npm is known not to run on Node.js v10.24.1 and how to ...
Open you terminal and verify you have the latest version using node -v . Verify your npm version too using npm -v ....
Read more >expected-node-version - npm
Retrieves the node version from the package.json or .nvmrc file. Latest version: 1.0.2, last published: 7 years ago.
Read more >5 questions Node.js developers want answered - Pluralsight
Node.js 11 ships with version 6.x of npm. This new version of npm has some really cool new additions, such as the npm...
Read more >How To Install Node.js and Create a Local Development ...
Node has two major versions: Current and LTS for long-term support. For development purposes, it's recommended to install the LTS version. You ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@bolatovumar it will be different since the devDependencies aren’t version locked at the moment. This will result in you probably having a newer eslint, or a newer jest. Which will result in a different package-lock.json.
Issue-Label Bot is automatically applying the label
question
to this issue, with a confidence of 0.89. Please mark this comment with 👍 or 👎 to give our bot feedback!Links: app homepage, dashboard and code for this bot.