Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] npm7 doesn't install packages that are only found on GitHub #1879

Closed
vlilloh opened this issue Sep 30, 2020 · 2 comments
Closed

[BUG] npm7 doesn't install packages that are only found on GitHub #1879

vlilloh opened this issue Sep 30, 2020 · 2 comments
Labels
Bug thing that needs fixing Duplicate duplicate of another, existing issue Release 7.x work is associated with a specific npm 7 release

Comments

@vlilloh
Copy link

vlilloh commented Sep 30, 2020

Current Behavior:

It doesn't install packages that are only found on GitHub.

Expected Behavior:

It should install packages that are only found on GitHub.

Steps To Reproduce:

  1. With this config in package.json, e.g.: "dependencies": { "@gastromatic/react-dates": "1.0.7" }
  2. With this config in .npmrc, e.g.: @gastromatic:registry=https://npm.pkg.github.com
  3. Run 'npx [email protected] i'
  4. See error:
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)

With these steps npm6 does install packages that are only found on GitHub.

Environment:

  • OS: MacOS 10.15.7
  • Node: 14.13.0
  • npm: 7.0.0-rc.0
@vlilloh vlilloh added Bug thing that needs fixing Needs Triage needs review for next steps Release 7.x work is associated with a specific npm 7 release labels Sep 30, 2020
@darcyclarke
Copy link
Contributor

Closing: I believe this is a duplicate of #1800

@darcyclarke darcyclarke added Duplicate duplicate of another, existing issue and removed Needs Triage needs review for next steps labels Oct 1, 2020
@farhansolodev
Copy link

farhansolodev commented Mar 18, 2022

Did this ever get fixed for you? I've been trying to run:

npx piuccio/cowsay hello world and npx github:piuccio/cowsay hello world
and both just quietly exit after a run of the progress bar.

In contrast, npx cowsay hello world works fine.

Update:
Downgrading npm to v6 by running npm install -g npm@6 fixed my issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug thing that needs fixing Duplicate duplicate of another, existing issue Release 7.x work is associated with a specific npm 7 release
Projects
None yet
Development

No branches or pull requests

3 participants