question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

lerna bootstrap not install packages

See original GitHub issue

when i run npx bootstrap i see my project folder not have node_modules

Current Behavior

image

Expected Behavior

show have node_module

Steps to Reproduce

  1. git clone git@github.com:lerna/getting-started-example.git;
  2. run npx lerna bootstrap;

This issue may not be prioritized if details are not provided to help us reproduce the issue.

lerna.json

{
  "$schema": "node_modules/lerna/schemas/lerna-schema.json",
  "useNx": true,
  "useWorkspaces": true,
  "version": "0.0.0"
}

Environment

image

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:5

github_iconTop GitHub Comments

2reactions
chenchenppcommented, Aug 7, 2022

将lerna.json的 "useWorkspaces"设置成false,能跑成功

0reactions
JamesHenrycommented, Nov 29, 2022

Closing this one as it looks like it was answered

Read more comments on GitHub >

github_iconTop Results From Across the Web

Running lerna bootstrap does not install all dependencies
***> wrote: My issue seems the same, quite hard to share. B depends on A. packages A - all is fine B -...
Read more >
Lerna bootstrap does not link local dependencies?
lerna bootstrap is supposed to link to packages that are already installed. the issue is that sometimes it doesn't link dependencies of ...
Read more >
@lerna/bootstrap - npm
Bootstrap the packages in the current Lerna repo. Installs all of their dependencies and links any cross-dependencies. When run, this command will:.
Read more >
FAQ | Lerna
As mentioned above root package.json is responsible for installing lerna locally. You need to automate bootstrap though. This can be achieved by putting...
Read more >
lerna bootstrap - Fig.io
Options ; --hoist <glob>, Install external dependencies matching glob at the repo root so they're available to all packages ; --nohoist <glob>, Do...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found