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
pnpm cannot add dependency to workspace project on windows: Cannot destructure property 'manifest' of 'manifestsByPath[rootDir]' as it is undefined. #6524
Labels
Comments
zkochan
added a commit
that referenced
this issue
May 10, 2023
zkochan
added a commit
that referenced
this issue
May 10, 2023
zkochan
added a commit
that referenced
this issue
May 10, 2023
@zkochan still not working after 8.5.1 release |
What would I have to do to test/debug this locally? noticed that 7.33.0 does not have the issue |
Happens to me as well using pnpm 8.7.1 |
grimly
added a commit
to grimly/pnpm
that referenced
this issue
Jan 4, 2024
The issue is still present on version I managed to identify the issue. I'll submit a PR soon enough. |
grimly
added a commit
to grimly/pnpm
that referenced
this issue
Jan 4, 2024
grimly
added a commit
to grimly/pnpm
that referenced
this issue
Jan 7, 2024
zkochan
pushed a commit
that referenced
this issue
Jan 8, 2024
zkochan
pushed a commit
that referenced
this issue
Jan 9, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Trying to add a dependency while in a package's subdirectory of pnpm workspace:
pnpm version:
8.4.0
Code to reproduce the issue:
pnpm i vite-plugin-static-copy
(any package)Expected behavior:
pnpm should install the package in the current workspace project
Actual behavior:
$ pnpm i vite-plugin-static-copy
ERROR Cannot destructure property 'manifest' of 'manifestsByPath[rootDir]' as it is undefined.
pnpm: Cannot destructure property 'manifest' of 'manifestsByPath[rootDir]' as it is undefined.
at C:\NVM\nvm\versions\node\v18.12.1\bin\node_modules\pnpm\dist\pnpm.cjs:189340:19
at async Promise.all (index 0)
at async recursive (C:\NVM\nvm\versions\node\v18.12.1\bin\node_modules\pnpm\dist\pnpm.cjs:189337:9)
at async installDeps (C:\NVM\nvm\versions\node\v18.12.1\bin\node_modules\pnpm\dist\pnpm.cjs:189727:11)
at async C:\NVM\nvm\versions\node\v18.12.1\bin\node_modules\pnpm\dist\pnpm.cjs:216935:21
at async main (C:\NVM\nvm\versions\node\v18.12.1\bin\node_modules\pnpm\dist\pnpm.cjs:216902:34)
at async runPnpm (C:\NVM\nvm\versions\node\v18.12.1\bin\node_modules\pnpm\dist\pnpm.cjs:217157:5)
at async C:\NVM\nvm\versions\node\v18.12.1\bin\node_modules\pnpm\dist\pnpm.cjs:217149:7
Additional information:
node -v
prints: v18.12.1The text was updated successfully, but these errors were encountered: