-
Notifications
You must be signed in to change notification settings - Fork 30
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
I have set 'npx only allow pnpm', but it only takes effect for Yarn #27
Comments
👀 |
Related issue: npm/cli#2660 This could be due to a npm problem that "preinstall" script gets run after dependencies installation. The Since the upstream issue could be hard to get fixed, I took another approach to achieve that and created this package just-pnpm to force project contributors to use pnpm. Hope this helps! :) |
with [email protected] neither solution works for me. Not sure if it's because I'm using husky in a prepare script or not. |
Same - and I have no prepare script :( |
same issue with npm 10 |
When I set 'npx only allow pnpm' and use Yarn to install dependencies, it is not allowed, which is normal; But when I use NPM, it can still install dependencies normally
The text was updated successfully, but these errors were encountered: