tag:help.appveyor.com,2012-11-13:/discussions/problems/3050-all-builds-suddenly-stopped-working-npm-checksum-wrong-for-random-npm-packagesAppVeyor: Discussion 2018-10-19T08:17:28Ztag:help.appveyor.com,2012-11-13:Comment/379447932015-09-16T12:48:44Z2015-09-16T12:48:45ZAll builds suddenly stopped working, npm checksum wrong for random npm packages.<div><p>Hi,</p>
<p>Suddenly, all of our builds are failing now due to npm checksum
errors.<br>
Thing is, it is about random and different npm packages, for
example:</p>
<pre>
<code>npm ERR! shasum check failed for C:\Users\appveyor\AppData\Local\Temp\1\npm-2212-aa3c81e7\registry.npmjs.org\base64-js\-\base64-js-0.0.6.tgz
npm ERR! Expected: 7b859f79f0bbbd55867ba67a7fab397e24a20947
npm ERR! Actual: da39a3ee5e6b4b0d3255bfef95601890afd80709
npm ERR! From: https://registry.npmjs.org/base64-js/-/base64-js-0.0.6.tgz
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! C:\projects\myday\MVC Web UI Role\npm-debug.log
Command exited with code 1</code>
</pre>
<pre>
<code>npm ERR! shasum check failed for C:\Users\appveyor\AppData\Local\Temp\1\npm-1432-a5db4e48\registry.npmjs.org\lodash.keys\-\lodash.keys-3.1.2.tgz
npm ERR! Expected: 4dbc0472b156be50a0b286855d1bd0b0c656098a
npm ERR! Actual: da39a3ee5e6b4b0d3255bfef95601890afd80709
npm ERR! From: https://registry.npmjs.org/lodash.keys/-/lodash.keys-3.1.2.tgz</code>
</pre>
<pre>
<code>npm ERR! shasum check failed for C:\Users\appveyor\AppData\Local\Temp\1\npm-2592-87966cab\registry.npmjs.org\lodash._reevaluate\-\lodash._reevaluate-3.0.0.tgz
npm ERR! Expected: 58bc74c40664953ae0b124d806996daca431e2ed
npm ERR! Actual: da39a3ee5e6b4b0d3255bfef95601890afd80709
npm ERR! From: https://registry.npmjs.org/lodash._reevaluate/-/lodash._reevaluate-3.0.0.tgz</code>
</pre>
<p>Seems like AppVeyor is getting these packages from some unknown
cache, as "Expected" SHA sums are correct (just compared with files
from these URLs), although "Actual" values are wrong.</p>
<p>Everything was fine up until about 4 hours ago, at 9am (UK,
GMT+1).<br>
We have tried to use 'npm cache clean' before any npm install
commands in the build process, without luck.</p>
<p>We have not made any changes to npm packages used in the
project, etc.</p>
<p>Has something changed recently? Proxy servers, caching, new
starter VMs with different configuration?</p>
<p>Kind regards,<br>
Kamil</p></div>Kamiltag:help.appveyor.com,2012-11-13:Comment/379447932015-09-16T13:17:41Z2015-09-16T13:17:43ZAll builds suddenly stopped working, npm checksum wrong for random npm packages.<div><p>This is happening to us also. We had successful npm-builds 4-5h
ago and now they're failing with these random checksum
mismatches.</p></div>jhtag:help.appveyor.com,2012-11-13:Comment/379447932015-09-16T13:31:06Z2015-09-16T13:31:06ZAll builds suddenly stopped working, npm checksum wrong for random npm packages.<div><p>What projects are those?</p>
<ul>
<li>Feodor</li>
</ul></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/379447932015-09-16T13:32:39Z2015-09-16T13:32:42ZAll builds suddenly stopped working, npm checksum wrong for random npm packages.<div><p>@Feodor: collabco/myday-cloud in our case. Thanks!</p></div>Kamiltag:help.appveyor.com,2012-11-13:Comment/379447932015-09-16T13:34:24Z2015-09-16T13:34:59ZAll builds suddenly stopped working, npm checksum wrong for random npm packages.<div><p>Ours is a private repo but it fails when npm installing gulp and
bower:</p>
<pre>
<code>npm install -g gulp bower
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "node" "C:\\Users\\appveyor\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "gulp" "bower"
npm ERR! node v0.12.7
npm ERR! npm v2.11.3
npm ERR! shasum check failed for C:\Users\appveyor\AppData\Local\Temp\1\npm-2120-303bb22e\registry.npmjs.org\lodash._reevaluate\-\lodash._reevaluate-3.0.0.tgz
npm ERR! Expected: 58bc74c40664953ae0b124d806996daca431e2ed
npm ERR! Actual: da39a3ee5e6b4b0d3255bfef95601890afd80709
npm ERR! From: https://registry.npmjs.org/lodash._reevaluate/-/lodash._reevaluate-3.0.0.tgz
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! C:\projects\texas-angular\npm-debug.log
Command exited with code 1</code>
</pre></div>jhtag:help.appveyor.com,2012-11-13:Comment/379447932015-09-16T13:42:27Z2015-09-16T13:42:27ZAll builds suddenly stopped working, npm checksum wrong for random npm packages.<div><p>Seems like there is some ongoing issue with npm:</p>
<p><a href="https://github.com/npm/npm/issues/9600">https://github.com/npm/npm/issues/9600</a></p>
<p><a href="https://github.com/npm/npm/issues/9603">https://github.com/npm/npm/issues/9603</a></p>
<ul>
<li>Feodor</li>
</ul></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/379447932015-09-16T16:53:33Z2015-09-16T16:53:33ZAll builds suddenly stopped working, npm checksum wrong for random npm packages.<div><p>Looks like it's been fixed: <a href="http://status.npmjs.org/incidents/pyw00fmpjzrh">http://status.npmjs.org/incidents/pyw00fmpjzrh</a></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/379447932015-09-16T17:00:46Z2015-09-16T17:00:47ZAll builds suddenly stopped working, npm checksum wrong for random npm packages.<div><p>Yep! Now everything is back to normal.</p></div>jh