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.

bootstrap: packages not found after bootstrapping

See original GitHub issue

Packages are not found even after bootstrapping

https://github.com/webpack/webpack-cli

Expected Behavior

Packages should be available once symlinked.

Current Behavior

After running lerna bootstrap, I tried using absolute import and ran into this issue image

Possible Solution

Steps to Reproduce (for bugs)

  1. lerna bootstrap
  2. npm changed to absolute import by package
lerna.json

{
  "lerna": "3.4.0",
  "packages": [
    "packages/*"
  ],
  "version": "0.1.5"
}

lerna-debug.log

<!-- If you have a `lerna-debug.log` available, please paste it here -->
<!-- Otherwise, feel free to delete this <details> block -->

Context

Your Environment

Executable Version
lerna --version 3.13.1
npm --version 6.4.1
yarn --version 1.12.3
node --version 10.15.3
OS Version
macOS Mojave 10.14.4

Please do lmk if I missed anything, thanks! 😄

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
evocateurcommented, Apr 24, 2019

You shouldn’t be using subpath imports like that, especially in a Typescript project (that is, the file path-utils.js does not exist in the leaf package directory).

Also, unclear why a test of a local file is using the absolute package name. That just doesn’t make sense, even forgetting the Typescript detour.

0reactions
github-actions[bot]commented, Jun 3, 2022

Hi Folks 👋

You may or may not know that lerna is now under the stewardship of Nrwl (announcement here https://github.com/lerna/lerna/issues/3121), a company with a long history of not just producing valuable open-source software (OSS), but also backing others (at the time of writing, Nrwl has donated over $50,000 to OSS it hasn’t created, see https://opencollective.com/nx for full details).

Quite simply, Nrwl ❤️ OSS, and is committed to making lerna the best it can be. We use it ourselves.

In order to take this awesome project forward from its current state, it is important that we focus our finite resources on what is most important to lerna users in 2022.

With that in mind, we have identified this issue as being potentially stale due to its age and/or lack of recent activity.


Next steps:

We want to give you some time to read through this comment and take action per one of the steps outlined below, so for the next 14 days we will not make any further updates to this issue.

@anshumanv as the original author of this issue, we are looking to you to update us on the latest state of this as it relates to the latest version of lerna.

Please choose one of the steps below, depending on what type of issue this is:

  • A) If this issue relates to a potential BUG in the latest version of lerna:

  • B) If this issue is a FEATURE request to be added to the latest version of lerna:

    • Simply comment back on this thread so that we know you still want us to consider the request for the latest version of lerna.
  • C) If this issue is a QUESTION which is applicable to latest version of lerna:

  • D) If this issue is no longer applicable to the latest version of lerna:

    • Please close the issue.

If we do not hear from @anshumanv on this thread within the next 14 days, we will automatically close this issue.

If you are another user impacted by this issue but it ends up being closed as part of this process, we still want to hear from you! Please simply head over to our new issue templates and fill out all the requested details on the template which applies to your situation:

https://github.com/lerna/lerna/issues/new/choose

Thank you all for being a part of this awesome community, we could not be more excited to help move things forward from here 🙏 🚀

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bootstrapping - AWS Cloud Development Kit (AWS CDK) v2
This error message means that the appropriate IAM roles do not exist in the other environment. The most likely cause is a lack...
Read more >
Prerequisite could not be found for bootstrapping (All listed)
This problem occured after installing vs2010 SP1. I removed the SP and re-installed the studio, everything else seems ok. Has anybody else ...
Read more >
Bootstrap Errors - Palo Alto Networks
No external device was detected with the bootstrap package. ... The networking parameters required for bootstrapping were either incorrect or missing.
Read more >
Getting started - Bootstrap
Navigate to the root /bootstrap/ directory, then run npm install . npm will look at the package.json file and automatically install the necessary...
Read more >
Bootstrapping and running an app - SG Developer
If your sgtk package is not located in a location where Python will ... When running a script that uses the Toolkit API...
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