greenkeeperio / greenkeeper-lockfile

:lock: Your lockfile, up to date, all the time
https://greenkeeper.io
182 stars 72 forks source link

yarn cannot install greenkeeper-lockfile correctly anymore #98

Closed danez closed 6 years ago

danez commented 6 years ago

As of today the greenkeeper-lockfile binaries are not found anymore by default when installing greenkeeper-lockfile on travis with yarn as described in the README.

I receive this error:

greenkeeper-lockfile-update: command not found

It might have todo with the latest update of the travis images. https://blog.travis-ci.com/2017-12-12-new-trusty-images-q4-launch

Example: https://travis-ci.org/researchgate/react-fast-highlight/jobs/316007440

I haven't tested with npm.

janl commented 6 years ago

thanks, we’ll look into it!

genomics-geek commented 6 years ago

Yup - I have the same issue

ewolfe commented 6 years ago

@cotsog do you think this problem is on travis-ci's end?

cotsog commented 6 years ago

Yes, this is indeed a side effect of the release of our newest Trusty images on Tuesday. Sorry for the inconvenience.

The issue and its workaround are documented here => https://github.com/travis-ci/travis-ci/issues/8870#issuecomment-351395853

Here's the snippet to add to your .travis.yml file:

before_install:
  - export PATH=$PATH:`yarn global bin`

We are currently working on fixing it such that the workaround isn't needed.

Please let me know if this helps to get your builds back on their feet or not.

Cheers!

danez commented 6 years ago

This is fixed now and works again.