tag:help.appveyor.com,2012-11-13:/discussions/problems/4375-npm-package-installation-randomly-failsAppVeyor: Discussion 2018-10-19T08:17:47Ztag:help.appveyor.com,2012-11-13:Comment/394849672016-03-25T15:17:10Z2016-03-25T15:17:10ZNpm package installation randomly fails<div><p>Are there more details in npm-debug.log?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/394849672016-03-25T16:36:55Z2016-03-25T16:36:55ZNpm package installation randomly fails<div><p>Thank you for your reply,</p>
<p>I am not sure how to get this file, it should be on the build
machine<br>
somewhere, how can I get to it?</p>
<p>Alexandru Calinoiu</p>
<p><a href="https://github.com/alexandru-calinoiu/">https://github.com/alexandru-calinoiu/</a></p>
<p><a href="https://ro.linkedin.com/in/alexandrucalinoiu">https://ro.linkedin.com/in/alexandrucalinoiu</a></p></div>calinoiu.alexandrutag:help.appveyor.com,2012-11-13:Comment/394849672016-03-25T17:00:47Z2016-03-25T17:00:47ZNpm package installation randomly fails<div><p>You should be able to upload it to artifacts by adding this to
appveyor.yml:</p>
<pre>
<code>on_failure:
- appveyor PushArtifact HiriseWebClient\npm-debug.log</code>
</pre></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/394849672016-03-26T12:48:33Z2016-03-26T12:48:33ZNpm package installation randomly fails<div><p>Set this and I will followup when I have the log.</p>
<p>Alexandru Calinoiu</p>
<p><a href="https://github.com/alexandru-calinoiu/">https://github.com/alexandru-calinoiu/</a></p>
<p><a href="https://ro.linkedin.com/in/alexandrucalinoiu">https://ro.linkedin.com/in/alexandrucalinoiu</a></p></div>calinoiu.alexandrutag:help.appveyor.com,2012-11-13:Comment/394849672016-03-28T09:08:20Z2016-03-28T09:08:20ZNpm package installation randomly fails<div><p>Hi,</p>
<p>Here is the log.</p>
<p>Regards,</p>
<p>Alexandru Calinoiu</p>
<p><a href="https://github.com/alexandru-calinoiu/">https://github.com/alexandru-calinoiu/</a></p>
<p><a href="https://ro.linkedin.com/in/alexandrucalinoiu">https://ro.linkedin.com/in/alexandrucalinoiu</a></p>
<blockquote>
<p>On Mar 26 2016, at 2:48 pm, Alexandru Calinoiu <<a href="mailto:calinoiu.alexandru@agilefreaks.com">calinoiu.alexandru@agilefreaks.com</a>>
wrote:<br>
Set this and I will followup when I have the log.</p>
<p>Alexandru Calinoiu</p>
<p><a href="https://github.com/alexandru-calinoiu/">https://github.com/alexandru-calinoiu/</a></p>
<p><a href="https://ro.linkedin.com/in/alexandrucalinoiu">https://ro.linkedin.com/in/alexandrucalinoiu</a></p>
<blockquote>
<p>On Mar 25 2016, at 7:00 pm, Feodor Fitsner <<a href="mailto:tender2+dcb9998ea3@tenderapp.com">tender2+dcb9998ea3@tenderapp.com</a>>
wrote:</p>
</blockquote>
</blockquote></div>calinoiu.alexandrutag:help.appveyor.com,2012-11-13:Comment/394849672016-03-28T17:16:05Z2016-03-28T17:16:05ZNpm package installation randomly fails<div><p>Hm, OK there is nothing specific (as in most cases with Node.js
errors), but just the same ELIFECYCLE. This could be anything. I've
just found these:<br>
<a href="https://github.com/mrhooray/gulp-mocha-phantomjs/issues/52">https://github.com/mrhooray/gulp-mocha-phantomjs/issues/52</a><br>
<a href="https://github.com/Medium/phantomjs/issues/430">https://github.com/Medium/phantomjs/issues/430</a></p>
<p>Have you tried <a href="https://github.com/Medium/phantomjs/releases">a more recent
release</a> of PhantomJS?</p>
<p>Alternatively, you can try using <code>appveyor-retry</code>
script while doing <code>npm install</code>: <a href="http://www.appveyor.com/docs/nuget#restore-with-retries">http://www.appveyor.com/docs/nuget#restore-with-retries</a></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/394849672016-03-30T06:16:22Z2016-03-30T06:16:22ZNpm package installation randomly fails<div><p>I've updated some npm packages and so far so good, I think we
can close this<br>
for now.</p>
<p>Alexandru Calinoiu</p>
<p><a href="https://github.com/alexandru-calinoiu/">https://github.com/alexandru-calinoiu/</a></p>
<p><a href="https://ro.linkedin.com/in/alexandrucalinoiu">https://ro.linkedin.com/in/alexandrucalinoiu</a></p></div>calinoiu.alexandrutag:help.appveyor.com,2012-11-13:Comment/394849672016-03-30T06:22:30Z2016-03-30T06:22:30ZNpm package installation randomly fails<div><p>OK, thanks for the update.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/394849672016-04-27T16:01:41Z2016-04-27T16:01:41ZNpm package installation randomly fails<div><p>We are seeing this a lot, of late. Was the trick to update
outdated npm packages?</p></div>ryantag:help.appveyor.com,2012-11-13:Comment/394849672016-04-28T12:41:48Z2016-04-28T12:41:48ZNpm package installation randomly fails<div><p>Yes, the problem was with one of he packages that was being
downloaded form bitbucket.</p>
<p>Updated karma and some other dependencies and all seems to work
fine now.</p></div>calinoiu.alexandru