-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
--frozen-lockfile fails #4454
Comments
This looks like Anyone willing to give it a shot? |
I get the exactly same error without --frozen-lockfile. So probably flat: true is the problem |
@BorntraegerMarc then it is |
Can you edit the issue title to reflect the refined scope? |
Hmmm i don't think the issue is only with |
@BYK Is there an update on this issue? It's blocking us at the moment... |
@BorntraegerMarc not yet sorry. I've merged #4488 today which may help. Would you like to give nightlies a try: https://yarnpkg.com/en/docs/nightly |
@BYK doesn't seem to work with nightlies:
|
@BYK still not working with latest... Do you know something more? |
Could somebody remove the "needs-investigation" label? I think the issue is quite clear/proven and just needs to be fixed... |
I just tried to reproduce this with v1.0.2 and v1.2.1. Both give me the 'incorrect entry' warnings, but neither fails with a need to update the lockfile. This might have something to do with some exact pair of dependencies? I tried these:
which have a whole bunch of conflicting libraries that needed resolutions. Yarn v1.0.2
Yarn v1.2.1
@BorntraegerMarc would it be possible to be more specific as to what dependencies are failing? |
@rally25rs thanks for pointing this out. that was exactly my problem. I specified conflicting versions of Was a tough nut to crack because I had to go through all dependencies and manually deleting one run gonna close the issue... |
Do you want to request a feature or report a bug?
bug
What is the current behavior?
I have the following package.json:
When I run
yarn
it generates the followingyarn.lock
:But then when our CI runs
yarn --frozen-lockfile
we get the output:If the current behavior is a bug, please provide the steps to reproduce.
run
yarn
once to generate lock file and thenyarn --frozen-lockfile
What is the expected behavior?
I'm not sure if it is a bug. First of all: What do the warning messages mean?
But my guess is if you have warnings then
yarn --frozen-lockfile
should not fail, right?I'm 100% sure the dependencies are the same when running
yarn
andyarn --frozen-lockfile
. I ran them 10 sec after each other.Please mention your node.js, yarn and operating system version.
Node: v6.9.1
yarn: 1.0.2
Windows + Linux
The text was updated successfully, but these errors were encountered: