Build fails after removing an app (unable to parse workspace package.json) #7191
Unanswered
milovangudelj
asked this question in
Help
Replies: 2 comments 4 replies
-
Adding back a dummy |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi! As I happen to have the very same issue: It doesn't seem to be the pnpm cache but instead turbo's. So all I did was to edit the dev command in the package.json to add |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I had three apps in my repository. I'll call them
A
,B
andB-v2
.I made a major refactor in a different repo with the same structure and to ease in the merge of the changes I copied
B
from the refactor repo and named itB-v2
in my repo. Once I finished moving everything and checked that it was working as expected I removedB-v2
from my repository.Now if I run
pnpm build
I get this error:I tried removing the repo and cloning it again, but it did nothing. I removed all build and node artifacts, and that too did nothing. I even tried logging out of turbo from the cli cause maybe it had something to do with remote caching, but nada.
B-v2
doesn't exist anymore, so why does turbo still have a reference to it somewhere? I even tried looking for the app name in the repo and it's nowhere to be found.How can I clean Turbo's cache system wide? Maybe there's a reference to that directory somewhere in Turbo's files. Or maybe it has to do with pnpm. I really don't know...
Beta Was this translation helpful? Give feedback.
All reactions