Skip to content
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

Problem with yarn? #48

Open
luruke opened this issue Feb 18, 2017 · 3 comments
Open

Problem with yarn? #48

luruke opened this issue Feb 18, 2017 · 3 comments

Comments

@luruke
Copy link

luruke commented Feb 18, 2017

Hi there, I gave a try to trevor on an existing project using travis as CI.
(https://github.com/luruke/barba.js/tree/v2-dev)

I got this error, probably related to the use of yarn.

╰─$ trevor

 ✖ 7.4.0: error

 ✖ 7.4.0:
 container_linux.go:247: starting container process caused "exec: \"yarn\": executable file not found in $PATH"
 docker: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "exec: \"yarn\": executable file not found in $PATH".

my travis.yml

language: node_js
sudo: required
dist: trusty
before_install:
 - export CHROME_BIN=/usr/bin/google-chrome
 - export DISPLAY=:99.0
 - sh -e /etc/init.d/xvfb start
 - sudo apt-get update
 - sudo apt-get install -y libappindicator1 fonts-liberation
 - wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
 - sudo dpkg -i google-chrome*.deb
script:
 - yarn run build
 - yarn test
 - yarn run coveralls
 - yarn run e2e-sauce
addons:
  sauce_connect: true
notifications:
  email: false
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/f122fc8ebfa457305f12
    on_success: change
    on_failure: always
    on_start: never
@vadimdemedes
Copy link
Owner

Yes, I'm pretty sure the official Node.js Docker image doesn't come with Yarn pre-installed.

@sanex3339
Copy link

sanex3339 commented Feb 19, 2017

same problem

@dawsbot
Copy link

dawsbot commented Mar 24, 2017

If I'm not mistaken, the Docker Node image being referenced can be found here. Looks like they did work including yarn into the image already.

Alternatively, is the Travis image open-sourced? It'd be best to have the exact same test environment as Travis 🤘

@sanex3339 No need to "same" or the like, go ahead and make use of the 👍 emoji reaction to save space in the comments for discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants