lerna bootstrap failed
See original GitHub issueHi, I’m not familiar with lerna
. I just starting to contribute, and here you say I need to run npx lerna bootstrap
. I’m getting this:
❯ npx lerna bootstrap
Need to install the following packages:
lerna
Ok to proceed? (y)
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
lerna notice cli v4.0.0
lerna info versioning independent
lerna info bootstrap root only
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found: react-router-dom@5.2.0
npm ERR! node_modules/react-router-dom
npm ERR! dev react-router-dom@"^5.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react-router-dom@"^4.0.0" from rum-react@1.2.7
npm ERR! packages/rum-react
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\baruchr\AppData\Local\npm-cache\eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\baruchr\AppData\Local\npm-cache\_logs\2021-03-04T16_39_53_077Z-debug.log
lerna ERR! npm install exited 1 in 'elastic-apm-rum'
lerna ERR! npm install exited 1 in 'elastic-apm-rum'
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (12 by maintainers)
Top Results From Across the Web
Lerna bootstrap failing · Issue #785 - GitHub
Unfortunatley it appears that Lerna is causing this by improperly re-writing the package.json files during bootstrapping. The lerna package ...
Read more >Lerna boostrap fails with npm ERR! code E401 - Stack Overflow
npm i - passes but "npm run bootstrap" fails. I've tried multiple options like. in .npmrc added credentials for my-repo. //my-repo-url:8081 ...
Read more >@lerna/bootstrap - npm
Link local packages together and install remaining package dependencies. Latest version: 6.3.0, last published: 6 days ago.
Read more >Question: Issue with installing dependencies for PWA kit
Failed at the mobify-platform-sdks@0.10.0 lerna script. npm ERR! ... Error: Command failed: npm run lerna -- bootstrap --ci.
Read more >Error While Setting up - Development - Joplin Forum
npm ERR! ... lerna WARN complete Waiting for 7 child processes to exit. CTRL-C to exit immediately. ... npm ERR! npm ERR! Failed...
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 FreeTop 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
Top GitHub Comments
It is not blocking me since I’m not working on anything in this repo.
But I will try to get it next week, I can’t say no to invitation to contribute (yet).
@baruchiro @vigneshshanmugam I use m1 chip mac to test,node:
v12.21.0
, npm:6.14.11
,npx lerna bootstrap
success. When i switch to node:v15.3.0
, npm:7.5.2
, have the same error. maybe lerna issue:https://github.com/lerna/lerna/issues/2822