-
Notifications
You must be signed in to change notification settings - Fork 15
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
npm ci gives "only-allow pnpm" but not npm i #7
Comments
Just a heads up, I had this issue and noticed the node versions were different. Node 14 I get this issue Node 16 I don't |
I'm using @georgkrause I don't see how changing it to |
@arildm I don't know what this line is good for anyways, but if only pnpm picks up this line, it at least doesn't make all other package managers not work anymore, while having it in preinstall blocks them all. But I'm fine with another idea, if you have one :) |
Great point @arildm you're totally right that it'll become useless if it's only detected by pnpm |
@tonyketcham So what would be a good fix though? Adding that line seems to be disrupting npm and yarn usage. My suggestion would be to remove the line, but I'm not exactly sure what effect that would have. |
This has been resolved in |
I'm trying to setup a github action to deploy my vite site in which I use your plugin. I've been using npm locally and has been working completely fine. However, when I run the github action and run
npm ci
it gives me an error telling me I must use pnpm in this project, even though I use npm locally.The text was updated successfully, but these errors were encountered: