Ténèbres
Explore posts from serversSolid Start in pnpm workspaces monorepo
I started from template, built it out, decided I wanted to try out monorepo, started a new project in another directory, scaffolded it, copied what I had already worked on in the original repo
both solid start and vinxi are installed. I use vinxi dev to launch dev. error comes when navigating to localhost:3000
29 replies
Solid Start in pnpm workspaces monorepo
hi @foolswisdom ! thanks for answering.
It's my first time working on a monorepo (alone) and I don't know much. Doing my best to understand
I've taken a look at your gh repo and haven't been able to see what I should deduce from it.
here's what I notice :
1. pnpm-workspace.yaml doesn't have a setting that would disable hoist for @solidjs/start, nor is there a .npmrc
2. there's the root package.json with
**/solid-start
? not **/@solidjs/start
?
3. in example/package.json there is
I thought I wouldn't have to add nohoist like in your repo, because I do not use yarn, I use pnpm.
I thought I had found the equivalent for nohoist with this setting, using exclamation point.
Even the overkill setting that is shamefullyHoist true which is supposed to help me when looking at the issue i linked in my earlier post isn't working.
Also, although I expected solidstart to be installed inside my root project node_modules, I never got it to be there whatever I've done.29 replies