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
Workspace with auto-install-peers throwing unhandled error (Cannot convert undefined or null to object) #4796
Comments
Reproduced here with 7.1.5 for first time. It was working with 7.1.0. pnpm i
Scope: all 9 workspace projects
ERROR Cannot convert undefined or null to object
Progress: resolved 56, reused 25, downloaded 1, added 0
Downloading registry.npmjs.org/typescript/4.7.2: 966 kB/11.7 MB |
same problem, the first version that had the problem was 7.1.3 |
The same issue also happens to me on version 6.32.16 to 6.32.17. So, it was most likely caused by this PR #4776 Downgrading the pnpm version to 6.32.15, I was able to run it without encountering the error |
The same problem here, monorepo with # .npmrc
auto-install-peers=true
enable-pre-post-scripts=true
git-checks=false
shamefully-hoist=true pnpm version
7.1.2 |
same problem here, 7.1.5. setting |
🚢 7.1.6 |
@zkochan, tested in 7.1.6 and working. Great job ! |
pnpm version: 7.1.5
Code to reproduce the issue:
git clone https://github.com/dapuicon/pnpm-workspace-error.git
pnpm i
.pnpm-debug.log
Expected behavior:
Install all dependencies, including peerDependencies and link local packages.
Actual behavior: Unhandled error
Additional information:
Setting
auto-install-peers=false
in .npmrc makes process work.node -v
prints: v16.15.0The text was updated successfully, but these errors were encountered: