我曾经为 codeship 和 npm 使用自定义构建、测试和部署脚本。现在转向 yarn,我想继续使用 codeship。但是,它总是yarn
在 10 分钟后超时。
脚本的相关部分是:
nvm install 6.3.1
npm install yarn
yarn
这会产生:
yarn install v0.18.1
[1/4] Resolving packages...
[2/4] Fetching packages...
warning fsevents@1.0.15: The platform "linux" is incompatible with this module.
info "fsevents@1.0.15" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning Incorrect peer dependency "joi@^9.0.4".
[4/4] Building fresh packages...
--------------------------------------------------------------------------------
This command didn't output anything for 10 minutes, thus we stopped it.
Please make sure your steps regularly print to standard out or standard error.
If the error is on our end please inform us so we can help you to fix this.
--------------------------------------------------------------------------------
两者(纱线和代码)不兼容吗?