tag:help.appveyor.com,2012-11-13:/discussions/questions/882-iojs-supportAppVeyor: Discussion 2018-10-19T08:16:58Ztag:help.appveyor.com,2012-11-13:Comment/358051372015-01-17T01:17:10Z2015-01-17T01:17:10ZIO.js support<div><p>I was hoping till the last moment they are not serious about
io.js :) But it's happened!</p>
<p>OK, at a glance checking for 1.x makes sense. Do you envision
them having the same set of versions as node or it's going to be
only 1.x?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/358051372015-01-17T01:35:41Z2015-01-17T01:35:41ZIO.js support<div><p>It seems that a clash in versions is unlikely given <a href=
"https://github.com/iojs/io.js/issues/420#issuecomment-70018859">https://github.com/iojs/io.js/issues/420#issuecomment-70018859</a>.
So the assumption would be 1.x is io.js I think is safe.</p></div>danetag:help.appveyor.com,2012-11-13:Comment/358051372015-01-19T21:07:40Z2015-01-19T21:07:40ZIO.js support<div><p>Hi Dane,</p>
<p>io.js support has been added to build workers. There are all
1.0.0, 1.0.1 and 1.0.2 versions pre-installed.</p>
<p>As you suggested the same PowerShell cmdlets could be used to
switch/install io.js - it's automatically selects io.js if the
version is 1.x.</p>
<p>Node.js updated to the latest 0.10.35 as well.</p>
<p>Let me know how that worked.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/358051372015-01-24T19:44:23Z2015-01-24T19:44:23ZIO.js support<div><p>@Fedor Could you update io.js to 1.0.4? Unfortunately, the
latest version available in AppVeyor, i.e. 1.0.3 has a broken npm
version causing a simple "npm install" to fail. It's all fixed in
io.js 1.0.4.</p>
<p>An example failed build: <a href=
"https://ci.appveyor.com/project/mzgol/grunt-ng-annotate/build/66/job/ts2yvus25vkmf8oi">
https://ci.appveyor.com/project/mzgol/grunt-ng-annotate/build/66/jo...</a></p></div>m.golebtag:help.appveyor.com,2012-11-13:Comment/358051372015-01-24T22:10:24Z2015-01-24T22:10:24ZIO.js support<div><p>Sure, will install it. Btw, you can always use "re-install"
method to get io.js 1.0.4:<br>
<a href=
"http://www.appveyor.com/docs/lang/nodejs-iojs#node-version">http://www.appveyor.com/docs/lang/nodejs-iojs#node-version</a></p>
<pre>
<code>Update-NodeJsInstallation 1.0.4</code>
</pre></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/358051372015-01-24T23:54:51Z2015-01-24T23:54:51ZIO.js support<div><p>@Fedor I've tried but it doesn't install correctly: <a href=
"https://ci.appveyor.com/project/mzgol/grunt-ng-annotate/build/73/job/7740w9ptc974a74p">
https://ci.appveyor.com/project/mzgol/grunt-ng-annotate/build/73/jo...</a><br>
In this build I first updated Node 0.10.35 to 1.0.3 using:</p>
<pre>
<code>Install-Product node 1.0</code>
</pre>
<p>and then updated it to 1.0.4 via:</p>
<pre>
<code>Update-NodeJsInstallation 1.0.4</code>
</pre>
<p>It says:</p>
<pre>
<code>Installing io.js v1.0.4 (x86)...</code>
</pre>
<p>and yet later I still see errors from io.js 1.0.3.</p></div>m.golebtag:help.appveyor.com,2012-11-13:Comment/358051372015-01-25T00:02:23Z2015-01-25T00:02:23ZIO.js support<div><p>Use either <code>Install-Product</code> or
<code>Update-NodeJsInstallation</code> but not both.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/358051372015-01-25T01:57:57Z2015-01-25T01:57:57ZIO.js support<div><p>Thanks, it worked!</p>
<p><a href=
"https://ci.appveyor.com/project/mzgol/grunt-ng-annotate/build/job/66s9n4gdd3rkbpy3">
https://ci.appveyor.com/project/mzgol/grunt-ng-annotate/build/job/6...</a></p>
<p>It would still be nice to not have to do magic like:</p>
<p>If ($env:nodejs_version.StartsWith('1.0')) {<br>
Update-NodeJsInstallation 1.0.4 } Else { Install-Product node
$env:nodejs_version }</p>
<p>so I hope you'll be able to update the included io.js soon.
:)</p></div>m.golebtag:help.appveyor.com,2012-11-13:Comment/358051372015-01-27T06:15:53Z2015-01-27T06:15:53ZIO.js support<div><p>io.js 1.0.4 and node 0.10.36 have been deployed to all build
worker images.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/358051372015-01-28T01:54:45Z2015-01-28T01:54:45ZIO.js support<div><p>Thanks, Fedor!</p>
<p>One more thing: io.js is probably going to release 1.1.0 soon
and -- according to semver, no breaking changes are allowed before
2.0.0. Due to its fast current development and the package not
being completely stable yet, I'd prefer to be able to specify that
I want to test on the newest 1.x.y release. Unfortunately, you
cannot pass "1" as a version to Install-Product node, you'll be
left with an error:<br>
<a href=
"https://ci.appveyor.com/project/mzgol/npm-bump/build/58/job/x5262r5ls4lw73tk">
https://ci.appveyor.com/project/mzgol/npm-bump/build/58/job/x5262r5...</a></p></div>m.golebtag:help.appveyor.com,2012-11-13:Comment/358051372015-01-28T02:52:32Z2015-01-28T02:52:32ZIO.js support<div><p>Oh, this is nice. Is it going to be only 1.1.x or 1.2.x, 1.3.x,
... as well?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/358051372015-02-03T23:38:13Z2015-02-03T23:38:13ZIO.js support<div><p>Feodor: not sure, they just follow semver and if they add any
new feature, they bump the minor. io.js 1.1.0 is already released.
I think it's really needed to be able to specify
1.whatever.whatever because of that.</p></div>m.golebtag:help.appveyor.com,2012-11-13:Comment/358051372015-02-03T23:40:15Z2015-02-03T23:40:15ZIO.js support<div><p>I see. Will support that. Thanks for letting know that 1.1.0 is
out.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/358051372015-02-05T04:41:58Z2015-02-05T04:41:58ZIO.js support<div><p>OK, the latest io.js <code>1.1.0</code> as well as node
<code>0.11.16</code> have been deployed.</p>
<p>Now, to switch to io.js 1.x you can use the following
command:</p>
<pre>
<code>Install-Product node 1</code>
</pre>
<p>Sample:<br>
<a href=
"https://ci.appveyor.com/project/FeodorFitsner/simple-console/build/1.0.201">
https://ci.appveyor.com/project/FeodorFitsner/simple-console/build/...</a></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/358051372015-02-05T04:47:44Z2015-02-05T04:47:44ZIO.js support<div><p>Thanks! :)</p></div>m.goleb