Skip to content

Instantly share code, notes, and snippets.

@komatzz
Last active June 20, 2017 01:05
Show Gist options
  • Select an option

  • Save komatzz/e2a901363505375413fe7543df3c2e87 to your computer and use it in GitHub Desktop.

Select an option

Save komatzz/e2a901363505375413fe7543df3c2e87 to your computer and use it in GitHub Desktop.
CircleCI で yarn install が失敗したので対策を共有 ref: http://qiita.com/komatzz/items/702cb9ce870165e2ad23
machine:
php:
version: 7.1.0
node:
version: 7.10.0
environment:
PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
dependencies:
override:
- yarn
- composer install --no-interaction
cache_directories:
- ~/.cache/yarn
test:
override:
- vendor/bin/phpunit
$ yarn
yarn install v0.21.3
[1/4] Resolving packages...
⠁ [2/4] Fetching packages...
error laravel-mix@0.12.1: The engine "node" is incompatible with this module. Expected version ">=6.0.0".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
$ yarn
yarn install v0.21.3
[1/4] Resolving packages...
⠁ [2/4] Fetching packages...
warning fsevents@1.1.1: The platform "linux" is incompatible with this module.
info "fsevents@1.1.1" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "eslint-plugin-vue@2.0.1" has incorrect peer dependency "eslint@^2.0.0 || ^3.0.0".
warning "eslint-plugin-react@6.10.3" has incorrect peer dependency "eslint@^2.0.0 || ^3.0.0".
[4/4] Building fresh packages...
Done in 73.65s.
$ vendor/bin/phpunit
bash: line 1: vendor/bin/phpunit: No such file or directory
vendor/bin/phpunit returned exit code 127
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment