-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]This package doesn't seem to be present in your lockfile; try to make an install to update your resolutions #2146
Comments
Please follow the issue template, there isn't much we can do based on this limited amount of information.
So what you're saying is that it got fixed already? |
I am also experiencing this issue. I am attempting to migrate a yarn 1 project to yarn 2, following this guide: https://yarnpkg.com/getting-started/migration yarn install doesn't generate a yarn.lock as promised I am experiencing a minor error when executing yarn install, but the command as a whole exits with code 0 Then attempting to execute a yarn run commnd generates: "Internal Error: root@workspace:.: This package doesn't seem to be present in your lockfile; try to make an install to update your resolutions" |
Could you share said error? |
|
That means the install failed and thus there is no lockfile, you need to setup the auth so Yarn can download the dependency. This is mentioned as step 4 in the migration guide https://yarnpkg.com/getting-started/migration#step-by-step |
@merceyz Firstly, thanks for your help. The registry we are using is certificate protected. My old .yarnrc has registry, caFilePath, cert and key config Does yarn 2 support certificate protected registries at this time? |
No, not at the moment. A PR adding support for those would be welcome |
Thank you for all your help! From my perspective this issue can be closed, although OP may disagree. |
Hi! 👋 This issue looks stale, and doesn't feature the Note that we require Sherlock reproductions for long-lived issues (rather than standalone git repositories or similar) because we're a small team. Sherlock gives us the ability to check which bugs are still affecting the master branch at any given point, and decreases the amount of code we need to run on our own machines (thus leading to faster bug resolutions). It helps us help you! 😃 If you absolutely cannot reproduce a bug on Sherlock (for example because it's a Windows-only issue), a maintainer will have to manually add the |
Thank you for closing We managed to resolve this issue by migrating our infrastructure from mTLS to OAuth provided by GitHub. Soon we will be using Yarn 2 |
Thank you !!! Work for me!!! |
I got this error message after upgrading yarn to
version 2.3.3
and removing theyarn.lock
file.It seems that yarn didn't generate a new lockfile after running
yarn
command.I tried to debug with berry sources, but this issue isn't reproducible with
2.3.3-git.20201118.af1c837d
.The text was updated successfully, but these errors were encountered: