tag:help.appveyor.com,2012-11-13:/discussions/problems/24859-change-in-yarnAppVeyor: Discussion 2019-08-27T18:37:25Ztag:help.appveyor.com,2012-11-13:Comment/475530102019-08-23T15:39:52Z2019-08-23T15:39:52ZChange in Yarn<div><p>error <a href="mailto:source-map@0.7.3">source-map@0.7.3</a>: The engine "node" is incompatible with this module. Expected version ">= 8". Got "6.17.1"</p>
<p>This is what I am getting now...<br>
Not sure what changed.</p></div>yzolotarevtag:help.appveyor.com,2012-11-13:Comment/475530102019-08-23T17:33:45Z2019-08-23T17:33:45ZChange in Yarn<div><p>Can you share your build config in yaml format.</p></div>Owen McDonnelltag:help.appveyor.com,2012-11-13:Comment/475530102019-08-24T17:22:40Z2019-08-24T17:22:40ZChange in Yarn<div><p>Sure, please find it attached. Thank you.</p></div>yzolotarevtag:help.appveyor.com,2012-11-13:Comment/475530102019-08-26T06:17:16Z2019-08-26T06:17:16ZChange in Yarn<div><p>And if you hit <code>RE-BUILD COMMIT</code> button on the last successful build does it still succeed?</p></div>Owen McDonnelltag:help.appveyor.com,2012-11-13:Comment/475530102019-08-26T07:52:31Z2019-08-26T07:52:31ZChange in Yarn<div><p>Last successfull build fails for the same reason...</p>
<p>[2/4] Fetching packages... info <a href="mailto:fsevents@1.2.9">fsevents@1.2.9</a>: The platform "win32" is incompatible with this module.<br>
info "<a href="mailto:fsevents@1.2.9">fsevents@1.2.9</a>" is an optional dependency and failed compatibility check. Excluding it from installation.<br>
error <a href="mailto:source-map@0.7.3">source-map@0.7.3</a>: The engine "node" is incompatible with this module. Expected version ">= 8". Got "6.17.1"<br>
error Found incompatible module.<br>
info Visit <a href="https://yarnpkg.com/en/docs/cli/install">https://yarnpkg.com/en/docs/cli/install</a> for documentation about this command.<br>
Command exited with code 1</p></div>yzolotarevtag:help.appveyor.com,2012-11-13:Comment/475530102019-08-26T17:31:56Z2019-08-26T17:31:56ZChange in Yarn<div><p>Can you tell me why you didn't make the yarn cache dependent on the <code>yarn.lock</code> file?<br>
Anyway, try a build without the yarn cache and let us know the result.</p></div>Owen McDonnelltag:help.appveyor.com,2012-11-13:Comment/475530102019-08-27T13:45:58Z2019-08-27T13:45:58ZChange in Yarn<div><p>Thank you, looks like I just had to change the nodejs_version in the yml to be 8. The build seems to work now.</p></div>yzolotarev