tag:help.appveyor.com,2012-11-13:/discussions/problems/12746-yarn-buildAppVeyor: Discussion 2018-10-19T08:18:41Ztag:help.appveyor.com,2012-11-13:Comment/448579842018-03-07T09:40:47Z2018-03-07T09:40:48ZYarn build<div><p>Hello,</p>
<p>When running yarn build or yarn run build on Windows, it's running fine.<br>
But when running on the new Ubuntu, it's not doing anything:</p>
<pre>
<code>yarn install v1.5.1
[1/4] Resolving packages...
⠁ [2/4] Fetching packages...
info fsevents@1.1.3: The platform "linux" is incompatible with this module.
info "fsevents@1.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 40.13s.
Running "build_script" scripts
yarn run build
Build exited with code 0</code>
</pre></div>Quentin Goinaudtag:help.appveyor.com,2012-11-13:Comment/448579842018-03-07T22:02:19Z2018-03-07T22:02:19ZYarn build<div><p>Can you please share more details? Link to your build will not hurt. Also if repository is private, please share <code>package.json</code> file.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/448579842018-03-07T22:16:59Z2018-03-07T22:17:01ZYarn build<div><p>Here is a link to the build: <a href="https://ci.appveyor.com/project/armaldio/addoninstaller/build/0.1.45/job/ji13e6hxo685va75">https://ci.appveyor.com/project/armaldio/addoninstaller/build/0.1.4...</a><br>
And here is alink to my repo on the branch where I have my changes: <a href="https://github.com/armaldio/AddonInstaller/tree/feature/appveyor-linux">https://github.com/armaldio/AddonInstaller/tree/feature/appveyor-linux</a></p>
<p>Many thanks!</p></div>Quentin Goinaudtag:help.appveyor.com,2012-11-13:Comment/448579842018-03-08T20:17:20Z2018-03-08T20:17:20ZYarn build<div><p>Quentin,</p>
<p>Since "yarn install" command took 40 seconds to execute I believe it did install dependencies silently. You may run "yarn --verbose" to make it more chatty.<br>
Also you have node dependencies and they require certain version of node. On ubuntu image we have several versions of NodeJS preinstalled with NVM Node Version Manager (<a href="https://github.com/creationix/nvm">https://github.com/creationix/nvm</a>). Please run "nvm use 6" to pick appropriate version of node before running "yarn" command.</p>
<p>Please let me know if any of that helped or not.</p></div>Wasa Pleshakovtag:help.appveyor.com,2012-11-13:Comment/448579842018-03-08T20:54:42Z2018-03-09T10:15:57ZYarn build<div><p>I'm not sure it's related to to the version of node<br>
The exact same build with the same configuration shows rougly the same outpout..untile yarn build</p>
<p>You can compare<br>
Windows: <a href="https://ci.appveyor.com/project/armaldio/addoninstaller/build/0.1.45/job/buodtkd52prc1c0i">https://ci.appveyor.com/project/armaldio/addoninstaller/build/0.1.4...</a><br>
Linux: <a href="https://ci.appveyor.com/project/armaldio/addoninstaller/build/0.1.45/job/ji13e6hxo685va75">https://ci.appveyor.com/project/armaldio/addoninstaller/build/0.1.4...</a></p></div>armaldiotag:help.appveyor.com,2012-11-13:Comment/448579842018-03-09T19:51:38Z2018-03-09T19:51:38ZYarn build<div><p>We are looking into that. The fix is coming in a day or so.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/448579842018-03-12T04:17:59Z2018-03-12T04:17:59ZYarn build<div><p>The issue with Yarn has been fixed. Please give it another try and let us know how t worked.</p>
<p>There are still issues with rendering some ANSI escape codes though, but we are looking into that right now.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/448579842018-03-12T11:51:30Z2018-03-12T11:51:31ZYarn build<div><p>The issue is fixed for me, everithing works as intended now. Thanks!</p></div>armaldio