<h3 dir="auto">Current Behavior:</h3>
<p dir="auto">It doesn't install packages that are only found on GitHub.</p>
<h3 dir="auto">Expected Behavior:</h3>
<p dir="auto">It should install packages that are only found on GitHub.</p>
<h3 dir="auto">Steps To Reproduce:</h3>
<ol dir="auto">
<li>With this config in <code class="notranslate">package.json</code>, e.g.: <code class="notranslate">"dependencies": { "@gastromatic/react-dates": "1.0.7" }</code></li>
<li>With this config in <code class="notranslate">.npmrc</code>, e.g.: <code class="notranslate">@gastromatic:registry=https://npm.pkg.github.com</code></li>
<li>Run 'npx npm@7.0.0-rc.0 i'</li>
<li>See error:</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="npm ERR! code EINTEGRITY
npm ERR! sha512-BUAcX26JrA+RHhaVkOCWAK95ffzA4uXgkQyl/TD+yYbRvxK9BpXjqKNxTSVzKosxXHdWPSyKUkl6fDEg3RPg4w== integrity checksum failed when using sha512: wanted sha512-BUAcX26JrA+RHhaVkOCWAK95ffzA4uXgkQyl/TD+yYbRvxK9BpXjqKNxTSVzKosxXHdWPSyKUkl6fDEg3RPg4w== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)"><pre class="notranslate"><code class="notranslate">npm ERR! code EINTEGRITY
npm ERR! sha512-BUAcX26JrA+RHhaVkOCWAK95ffzA4uXgkQyl/TD+yYbRvxK9BpXjqKNxTSVzKosxXHdWPSyKUkl6fDEg3RPg4w== integrity checksum failed when using sha512: wanted sha512-BUAcX26JrA+RHhaVkOCWAK95ffzA4uXgkQyl/TD+yYbRvxK9BpXjqKNxTSVzKosxXHdWPSyKUkl6fDEg3RPg4w== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)
</code></pre></div>
<p dir="auto">With these steps npm6 does install packages that are only found on GitHub.</p>
<h3 dir="auto">Environment:</h3>
<ul dir="auto">
<li>OS: MacOS 10.15.7</li>
<li>Node: 14.13.0</li>
<li>npm: 7.0.0-rc.0</li>
</ul>
<h3 dir="auto">Current Behavior:</h3>
<p dir="auto">We are trying to upgrate to NPM 7, but we run into problems with getting packages from azure artifacts. The following log is shown, when running <code class="notranslate">npm i --verbose</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="npm WARN tarball tarball data for https://infolandcode.pkgs.visualstudio.com/_packaging/Shared/npm/registry/xxx/xxx.tgz (sha1-ZTIGEke6SQtyObZXul6THKgWSz0=) seems to be corrupted. Trying again.
npm WARN tarball tarball data for https://infolandcode.pkgs.visualstudio.com/_packaging/Shared/npm/registry/xxx/xxx.tgz (sha1-oYbrH56D5xdd2LzPKGiYWv/1Z9w=) seems to be corrupted. Trying again.
npm WARN tarball tarball data for https://infolandcode.pkgs.visualstudio.com/_packaging/Shared/npm/registry/xxx/xxx.tgz (sha1-ZTIGEke6SQtyObZXul6THKgWSz0=) seems to be corrupted. Trying again.
npm WARN tarball tarball data for https://infolandcode.pkgs.visualstudio.com/_packaging/Shared/npm/registry/xxx/xxx.tgz (sha1-oYbrH56D5xdd2LzPKGiYWv/1Z9w=) seems to be corrupted. Trying again.
npm timing reify:rollback:createSparse Completed in 2ms
npm timing reify:rollback:retireShallow Completed in 1ms
npm timing command:install Completed in 1784ms
npm verb stack Error: sha1-ZTIGEke6SQtyObZXul6THKgWSz0= integrity checksum failed when using sha1: wanted sha1-ZTIGEke6SQtyObZXul6THKgWSz0= but got sha512-1HAETTUJsxZ0ZT/s/kYXiDJgmm4bXD7co77wzewb4t8BBW7Vhk0ONkOs5orSToPCtu41U30n/e50gqTgia8anA== sha1-oCrDJJcm5EvGPkto9uzdg5hsPC0=. (307 bytes)"><pre class="notranslate"><code class="notranslate">npm WARN tarball tarball data for https://infolandcode.pkgs.visualstudio.com/_packaging/Shared/npm/registry/xxx/xxx.tgz (sha1-ZTIGEke6SQtyObZXul6THKgWSz0=) seems to be corrupted. Trying again.
npm WARN tarball tarball data for https://infolandcode.pkgs.visualstudio.com/_packaging/Shared/npm/registry/xxx/xxx.tgz (sha1-oYbrH56D5xdd2LzPKGiYWv/1Z9w=) seems to be corrupted. Trying again.
npm WARN tarball tarball data for https://infolandcode.pkgs.visualstudio.com/_packaging/Shared/npm/registry/xxx/xxx.tgz (sha1-ZTIGEke6SQtyObZXul6THKgWSz0=) seems to be corrupted. Trying again.
npm WARN tarball tarball data for https://infolandcode.pkgs.visualstudio.com/_packaging/Shared/npm/registry/xxx/xxx.tgz (sha1-oYbrH56D5xdd2LzPKGiYWv/1Z9w=) seems to be corrupted. Trying again.
npm timing reify:rollback:createSparse Completed in 2ms
npm timing reify:rollback:retireShallow Completed in 1ms
npm timing command:install Completed in 1784ms
npm verb stack Error: sha1-ZTIGEke6SQtyObZXul6THKgWSz0= integrity checksum failed when using sha1: wanted sha1-ZTIGEke6SQtyObZXul6THKgWSz0= but got sha512-1HAETTUJsxZ0ZT/s/kYXiDJgmm4bXD7co77wzewb4t8BBW7Vhk0ONkOs5orSToPCtu41U30n/e50gqTgia8anA== sha1-oCrDJJcm5EvGPkto9uzdg5hsPC0=. (307 bytes)
</code></pre></div>
<h3 dir="auto">Expected Behavior:</h3>
<p dir="auto">I expect the packages to be downloaded correctly, just as they did using npm 6</p>
<h3 dir="auto">Steps To Reproduce:</h3>
<p dir="auto">Reference packages to azure artifacts in your package.json. Try to run <code class="notranslate">npm install</code></p>
<p dir="auto">expected:<br>
packages install</p>
<p dir="auto">actual:<br>
error as shown above</p>
<h3 dir="auto">Environment:</h3>
<ul dir="auto">
<li>OS: windows 10</li>
<li>Node: v12.16.1</li>
<li>npm: 7@beta10</li>
</ul>