-
Notifications
You must be signed in to change notification settings - Fork 719
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
yarn should run with --pure-lockfile #7395
Comments
It seems best to override the default command in that case. |
There was another person who wanted this as well. @Daniel15 Do you have opinions on this? |
I was about to file an issue for this -- though I'd recommend using The description from
|
OK. We'll move to |
This sounds reasonable to me. @bestander @kittens What do you think? |
Agree |
Reopening this since we've received some error reports and reverted the fix. |
A use case travis-ci/travis-build#997 (comment) raised was that Greenkeeper trying to update dependencies. At the moment, the only flag we use for installing |
On a second thought, the greenkeeper case is one where the user should override |
There was also a case where a pre-installed That should be accounted for. |
Hey! I'm getting an error
Any ideas? Heres my build: https://travis-ci.org/madou/armory-back/builds/214476264 |
@Madou So yarn is currently broken when also using docker services on travis? Because my builds are also failing with See: https://travis-ci.org/forecastxl/prototype/builds/214613995 |
--frozen-lockfile was added around Yarn v0.20
What version do you use?
…On 24 March 2017 at 11:45, ismay ***@***.***> wrote:
@Madou <https://github.com/madou> So yarn is currently broken when also
using docker services on travis? Because my builds are also failing with error:
unknown option --frozen-lockfile'...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7395 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACBdWNFWOOSRj0A6P4in78Ga9xvr3kgMks5ro6z3gaJpZM4MNiYx>
.
|
@bestander Just the version that travis installs automatically (when a yarn.lock is present) |
@bestander as @ismay said, looks like we're both using whatever travis installs. @ismay seems like it. when I turned it off (see: https://travis-ci.org/madou/armory-back/jobs/214557773) it got past the install dependencies stage. weird stuff! |
@Madou Yeah. Seems like Can't find a reference to the version of yarn that's being used in the build log though. Also weird that enabling docker makes it fail.. |
in retrospect maybe its |
See travis-ci/travis-build#997 and the comments. We have reverted this change, so restarting the failing jobs should work. |
@BanzaiMan do you need to do something special for the jobs that use see build I just ran: https://travis-ci.org/madou/armory-back/builds/214563501 |
Not for me, I've restarted the build several times, but it keeps failing. I'm not installing my own version of yarn, so the installation of yarn is being handled by travis: https://travis-ci.org/forecastxl/prototype/builds/214613995#L311 |
@BanzaiMan That did it for me, thanks for the quick fix! |
Thanks @BanzaiMan ! |
Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again! You can read more here: https://blog.travis-ci.com/2018-03-09-closing-old-issues |
Can you reconsider this? More than a year has passed and the default Yarn version has supported |
We are working out a solution for this, there should be another issue open
…On Fri, May 4, 2018 at 12:35 PM Mertcan Mermerkaya ***@***.***> wrote:
Can you reconsider this?
More than a year has passed and the default Yarn version has supported
--frozen-lockfile for a while now.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7395 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACBdWJx6XdgMbfFiogSuNsWEpc5ESEf8ks5tvK1ygaJpZM4MNiYx>
.
|
Thanks! There's a somewhat similar issue about NPM's lock file, but I commented here because I couldn't find any other open issue about this for Yarn. |
Without this option travis might overwrite the lockfile and it's hard to catch if the lockfile is out of date.
The text was updated successfully, but these errors were encountered: