Unable to add new dependencies #8757
-
So pnpm install works fine but the moment I try to add a new dependency, I will get an error because it tries to treat a few of my packages in the monorepo as external whether I add it via I'll get the same issue. However, it's not an issue for most of my colleagues. I've tried wiping my repo, pnpm globally, deleted cache files and hidden pnpm related files but still get the same behavior after reinstalling everything. Would anybody happen to have any ideas on what could be the issue? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
It seems like on the screenshot you show a different |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
The version specs are incorrect in some of the dependencies. It should be
workspace:*
with a colon, notworkspace*
.