-
-
Notifications
You must be signed in to change notification settings - Fork 342
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
bug: can't install dev dependencies - sherif fails #763
Comments
Have this issue as well on Mac. I have been manually pasting dev dependencies in my package.json and it's tedious. |
I am getting this as well using WSL2 |
Ditto. Just hit it. |
Opened an issue on pnpm's repo to resolve it, since this error occurs with any package and not just sherif: pnpm/pnpm#7424 |
Aight thanks for looking into it. I was too lazy to try other stuff 😅 You can just |
Tried
Installing as normal dependency and then changing it to be a devDependency in package.json works fine |
The fix has been released in pnpm v9.0.0-alpha.1 and I've been able to confirm that it works: ![]() We should probably wait for a stable release before closing this issue though. |
Provide environment information
System:
OS: Windows 11 10.0.22631
CPU: (32) x64 AMD Ryzen 9 7950X 16-Core Processor
Memory: 45.68 GB / 63.14 GB
Binaries:
Node: 20.3.1 - C:\Program Files\nodejs\node.EXE
npm: 9.8.0 - C:\Program Files\nodejs\npm.CMD
pnpm: 8.10.5 - C:\Program Files\nodejs\pnpm.CMD
Describe the bug
When trying to install something to dev dependencies in any package or app the postinstall script throws the following error:
maybe a windows issue since no one else has encountered this yet?
Link to reproduction
start repo in a codespace and run
pnpm -filter @acme/nextjs add @types/leaflet -D
To reproduce
try to add something to dev dependencies in any package or app
Additional information
No response
The text was updated successfully, but these errors were encountered: