Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
This issue exists in the latest npm version
- I am using the latest npm
Current Behavior
I'm trying to run:
npx https://gist.github.com/kentcdodds/bb452ffe53a5caa3600197e1d8005733
However I get:
sh: workshop-setup: command not found
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
- In any environment
- With any config
- Run
npx https://gist.github.com/kentcdodds/bb452ffe53a5caa3600197e1d8005733
- See the above error
Environment
- npm: latest
- Node.js: latest
- OS Name: any
- System Model Name: any
- npm config: any
(All my students are running into this. Even my CI: https://github.com/kentcdodds/react-fundamentals/runs/6989184285?check_suite_focus=true)