Does Quasar Support pnpm Monorepo Setup? #17515
-
Hello everyone, I am in the process of setting up a monorepo project with pnpm as the package manager. Within this monorepo, I have a main application developed with Quasar, and also within the packages directory, there is another application developed with Quasar. Currently, I am encountering an issue where it seems that the monorepo structure is not supported by the Quasar CLI. Specifically, I am facing the following problems: When trying to run quasar dev or quasar build commands, I am receiving an error indicating that the Quasar CLI does not allow execution within a monorepo structure. I have attempted to run the Quasar CLI separately for each application from the root of the monorepo, but it still doesn't work as expected. I would like to inquire if anyone has come across a similar issue, or if there are any recommended solutions? Is there official support or a workaround to achieve this structure? Any advice or guidance would be greatly appreciated. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 19 replies
-
|
Beta Was this translation helpful? Give feedback.
-
It certainly does work with monorepos. I assume that you are using PNPM with it? Make sure that you have this in your
|
Beta Was this translation helpful? Give feedback.
-
Hi, I have a monorepo using pnpm (quasar front end and expressjs backend), and mainly works, but with some issues. When I run npm error code ENOWORKSPACES.
npm error This command does not support workspaces.
How can I upgrade quasar with pnpm in a monorepo? It seems that is trying to use npm for the upgrade instead of pnpm. |
Beta Was this translation helpful? Give feedback.
-
@yusufkandemir I have a minor issue with install/build in the monorepo that I hope that you can help. If I install in the root with
But If I install inside the quasar package, builds now works without any problem... |
Beta Was this translation helpful? Give feedback.
It certainly does work with monorepos. I assume that you are using PNPM with it? Make sure that you have this in your
/.npmrc
: