Open MichaelJCole opened 3 years ago
@MichaelJCole I use Yarn Workspaces at work and have now for the past year, with NO issues. Obviously, client
is a quasar project.
$ yarn workspaces info
yarn workspaces v1.22.5
{
"@ivt/client": {
"location": "packages/client",
"workspaceDependencies": [
"@ivt/shareable"
],
"mismatchedWorkspaceDependencies": []
},
"@ivt/shareable": {
"location": "packages/shareable",
"workspaceDependencies": [],
"mismatchedWorkspaceDependencies": []
},
"@ivt/server": {
"location": "packages/webserver",
"workspaceDependencies": [],
"mismatchedWorkspaceDependencies": []
},
"@ivt/alarms": {
"location": "packages/services/alarms",
"workspaceDependencies": [],
"mismatchedWorkspaceDependencies": []
},
"@ivt/analytic": {
"location": "packages/services/analytics",
"workspaceDependencies": [],
"mismatchedWorkspaceDependencies": []
},
"@ivt/archive": {
"location": "packages/services/archive",
"workspaceDependencies": [],
"mismatchedWorkspaceDependencies": []
},
"@ivt/classification": {
"location": "packages/services/classification_venv",
"workspaceDependencies": [],
"mismatchedWorkspaceDependencies": []
},
"@ivt/dio": {
"location": "packages/services/dio_venv",
"workspaceDependencies": [],
"mismatchedWorkspaceDependencies": []
},
"@ivt/liveview": {
"location": "packages/services/liveview",
"workspaceDependencies": [],
"mismatchedWorkspaceDependencies": []
},
"@ivt/monitor": {
"location": "packages/services/monitor",
"workspaceDependencies": [],
"mismatchedWorkspaceDependencies": []
},
"@ivt/ptz": {
"location": "packages/services/ptz",
"workspaceDependencies": [],
"mismatchedWorkspaceDependencies": []
},
"@ivt/weather": {
"location": "packages/services/weather",
"workspaceDependencies": [],
"mismatchedWorkspaceDependencies": []
}
}
Done in 0.18s.
You can try creating your quasar project outside of the workspace and then move it in when done.
@hawkeye64 this issue wasn't about YOUR experience with yarn workspaces.
It was a reproduction for the issue I was having, and how it was related to the linked unresolved issues.
"You can try creating your quasar project outside of the workspace and then move it in when done." -- indicates POSSIBLE issue.
You don't have to fix issues @hawkeye64 , and I don't have to patreon denial.
Everyone pls calm down. This issue needs investigating.
@MichaelJCole Sorry if I ruffled some feathers. I really do apologize.
"You can try creating your quasar project outside of the workspace and then move it in when done."
All I meant by this is to see if it worked for you as part of an investigation. I have used workspaces many times. I have had not had any quasar issues with them. I mean, this could be as simple as you using yarn to keep quasar globally (which I don't), or it may not. The hardest part of this deal is recreating the scenario to a minimal test scenario. Using a larger one just obfisticates what's happening in your case.
Ok, yes. Thank you for listening. I apologize for being a jerk about the Patreon. I really do appreciate the hard work you've all put into Quasar. It's been a crazy year.
This issue is not critical to me. I moved on from PostGraphile for a variety of reasons. While debugging my last technical issue, I noticed I could create reproducible behavior similar to that in the linked Quasar issues.
The hardest part of this deal is recreating the scenario to a minimal test scenario. Using a larger one just obfisticates what's happening in your case.
I completely agree. yarn workspaces
are new to me. I pivoted away from that template because of it's complexity.
Anyways, if this git issue isn't actionable, then let's close it and move forward. Thank you!
@MichaelJCole I'll let @rstoenescu decide
Maybe unrelated to this issue but I have a npm7 monorepo using workspaces and on Quasar v1 the reactivity & HMR worked throughout the entire monorepo, but with Quasar v2 HMR stopped working.
For example, I have to restart the server if I make a change in an util that's in a separate package in the monorepo.
Describe the bug I'm trying to replace Next.js with Quasar in this PostGraphile starter project.
I am getting this error:
Codepen/jsFiddle/Codesandbox (required) See git repo
To Reproduce
Clone the starter and replace Next.js client with Quasar
Accept all the defaults. Yarn install will fail. Make some fixes for yarn workspaces:
Workaround:
Expected behavior quasar to dev w/o errors using yarn workspaces
Platform (please complete the following information): OS: Ubuntu 20.04 Node: v14.15.0 NPM: 6.14.8 Yarn: 1.22.10 Browsers: iOS: Android: Electron:
Additional context
I'm not familiar with this repo, but it seems to reproduce an error referenced in other issues, but lacked a reproducible repo.
https://github.com/quasarframework/quasar/issues/4890 https://github.com/quasarframework/quasar/issues/4835 https://github.com/quasarframework/quasar/pull/4457