You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This worked when using node-managed npm. Ideally I would be able to use npm test and npm run and such but not npm install when a package has packageManager set.
$ npm test
Usage Error: This project is configured to use pnpm
The text was updated successfully, but these errors were encountered:
this flag seems not working, I'm running with node v20.11.0 and corepack v0.10.0.
my issue is some dependency is running a post install script and using npm to run some command:
update:
this is resolved by upgrade better-sqlite3 to the latest version. I think this error message is a bit misleading, it's actually the postinstall script that failed because the version of better-sqlite3 we depend on is too old to find a pre-built binary that matches the current node version, and the post-install compilation is failing. Not an issue with npm itself.
This worked when using node-managed npm. Ideally I would be able to use
npm test
andnpm run
and such but notnpm install
when a package has packageManager set.The text was updated successfully, but these errors were encountered: