I used to use a custom build, test and deploy script for codeship and npm. Moving to yarn now, I want to continue using codeship. Hoowever, it always times out on the yarn
command after 10 minutes.
The relevant part of the script is:
nvm install 6.3.1
npm install yarn
yarn
This produces:
yarn install v0.18.1
[1/4] Resolving packages...
[2/4] Fetching packages...
warning [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" 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.
--------------------------------------------------------------------------------
Are the two (yarn and codeship) incompatible?
@simon to resolve - add those tow lines into
Setup Commands
section:by reaching out to this issue in Codeship support, Joe Siewert helped to resolve it:
Thanks for your help Joe Siewert!