Replies: 3 comments 2 replies
-
Filtering does not seam to find my project, even though workspace/project$ pnpm add bootstrap-vue --filter project
No projects matched the filters in "/home/user/workspace/project" |
Beta Was this translation helpful? Give feedback.
2 replies
-
首先你应该展示你的目录结构和package.json, |
Beta Was this translation helpful? Give feedback.
0 replies
-
对于你的问题, 最快的方法是你进入到project目录内再运行 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do I install a package in the workspace? Not the root?
They guessed right, "which might not be what you want". Strange that it only goes into what I might not want but does not say anything about adding the package there like the command implies:
pnpm add <package>
This shell has
./package.json
and../pnpm-workspace.yaml
..I guess I'm not the only one: https://stackoverflow.com/q/71054629/766233
It seams undocumented in my view, "filter" is not something I would think to go into. I would appreciate if we could know why this command does not work, pnpm is such a great product it is interesting that you get stopped pretty early on like this. In the mean time, I'm happy to edit package.json to install packages because pnpm is worth it.
Beta Was this translation helpful? Give feedback.
All reactions