npm 5 not supported
See original GitHub issueExpected Behavior
Would be awesome if lerna worked with npm 5.
Current Behavior
It kind of works today. The problem is that each time I run bootstrap something is modifying the package-lock.json files in inconsistent ways. Sometimes it removes the root level name and version from the package lock file. Sometimes it breaks and leaves the package.json in a state where it only has a list of the dependencies and a package.json.lerna_backup file exists.
Possible Solution
Something is clearly going on where potentially npm is watching modifications to the package.json and messing stuff up as lerna is modifying them. Not totally sure.
Steps to Reproduce (for bugs)
Honestly, each time I ran bootstrap I would get a different result.
lerna.json
{
"lerna": "2.0.0",
"packages": [
"packages/*"
],
"version": "independent"
}
Context
Executable | Version |
---|---|
lerna --version |
2.0.0 |
npm --version |
5.3.0 |
yarn --version |
0.25.7 |
node --version |
8.1.4 |
OS | Version |
---|---|
macOS Sierra | 10.1.2 |
Issue Analytics
- State:
- Created 6 years ago
- Reactions:15
- Comments:16 (7 by maintainers)
Top Results From Across the Web
NPM 5 is not supported yet in React Native - node.js
While creating an app using React native, in cmd I'm facing the following error message: ERROR: npm 5 is not supported yet. npm...
Read more >Prevent npm install for not supported Node.js versions
Use a local npm configuration to prevent users from installing your module/project with an unsupported Node.js version.
Read more >Common errors | npm Docs
Possible temporary npm registry glitch, or corrupted local server cache. Run npm cache clean and/or try again later. · This can be caused...
Read more >npm does not support Node.js v SOLVED - YouTube
How to solve npm does not support Node.js v16.10.0 You should probably upgrade to a newer version of node as we npm ERR!...
Read more >How to fix 'npm does not support Node.js v14' error on ...
Uninstall node.js (Windows Add/Remove programs) · Manually delete the npm folder from your user profile (%APPDATA%/roaming/npm) · Install node.js ...
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
Thanks for the suggestions on making the package-lock files less of an issue. However, I want to have and use the package-lock files.
When I install a new package with
npm 5
it removes my symblinks created bylerna bootstrap
, super annoying