N
Nuxt2y ago
FoxCode

Upgrade is not possible with nuxi upgrade and yarn

nuxi upgrade --force at first, it removes yarn.lock, which leads to an error:
Usage Error: The nearest package directory (/home/x/y/website3) doesn't seem to be part of the project declared in /home/x/y.

- If /home/x/y isn't intended to be a project, remove any yarn.lock and/or package.json file there.
- If /home/x/y is intended to be a project, it might be that you forgot to list /website in its workspace configuration.
- Finally, if /home/x/y is fine and you intend /website to be treated as a completely separate project (not even a workspace), create an empty yarn.lock file in it.
Usage Error: The nearest package directory (/home/x/y/website3) doesn't seem to be part of the project declared in /home/x/y.

- If /home/x/y isn't intended to be a project, remove any yarn.lock and/or package.json file there.
- If /home/x/y is intended to be a project, it might be that you forgot to list /website in its workspace configuration.
- Finally, if /home/x/y is fine and you intend /website to be treated as a completely separate project (not even a workspace), create an empty yarn.lock file in it.
I use the last option, /website is a completely separate project in monorepo. How can I fix it?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server