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

Not working #3

Open
andreibade opened this issue Nov 10, 2024 · 2 comments
Open

Not working #3

andreibade opened this issue Nov 10, 2024 · 2 comments

Comments

@andreibade
Copy link

Tried this and I'm still allowed to run npm install instead of pnpm.

node -v
v20.11.1

@prinsss
Copy link
Owner

prinsss commented Nov 11, 2024

Hi, thank you for your feedback.

I've tested with Node.js 20.18.0 and npm 10.8.2 and it worked as expected.

Please provide a minimal reproducible repository so that I can investigate the issue further.

@prinsss
Copy link
Owner

prinsss commented Nov 11, 2024

Also, please run JUST_PNPM_DEBUG=1 npm install and share the output here. :)

The output should look like this:

npm error command failed
npm error command sh -c node ./index.js
npm error {
npm error   wantedPM: 'pnpm',
npm error   usedPM: { name: 'npm', version: '10.8.2' },
npm error   shouldSkip: false
npm error }
npm error Use "pnpm install" for installation in this project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants