-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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] npx <gist> leads to command not found #5132
Comments
it looks like what's going on here is that the this is very clearly a bug. thanks for the report! |
That's great! Thank you for looking into this. I tried removing the |
Another way is downgrade npm.
|
Duplicate issue here w/ some more comments: #5134 |
This should be fixed as of ~/D/n/s/empty $ npx gist:a5a65137bd390864e294ec80bb91e005
Need to install the following packages:
gist:a5a65137bd390864e294ec80bb91e005
Ok to proceed? (y)
Hi there! I am @gar/npm-exec-gist version 1.0.0 |
The GitHub Actions runner contains a version of `npx` that is bugged: - npm/cli#5132 ``` npm WARN exec The following package was not found and will be installed: @artichokeruby/[email protected] npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/@artichokeruby%2fclang-format - Not found npm ERR! 404 npm ERR! 404 '@artichokeruby/[email protected]' is not in this registry. npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url. ``` Work around this by pinning the node and npm versions.
Hey folks, I think a broken version of |
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
I'm trying to run:
However I get:
For context, I use this for step of my workshop repositories. It checks that learner's machines have the correct versions of things installed, installs dependencies, and runs validation to make sure things were installed correctly. This worked before I updated to npx v8.
Expected Behavior
I expect the bin of the gist's package.json to be run as previous versions of npx as recent as v7.
Steps To Reproduce
npx https://gist.github.com/kentcdodds/bb452ffe53a5caa3600197e1d8005733
Environment
(All my students are running into this. Even my CI: https://github.com/kentcdodds/react-fundamentals/runs/6989184285?check_suite_focus=true)
The text was updated successfully, but these errors were encountered: