This could entirely be a node issue, but thought I'd post it here to see if anyone has possible fix. I have an existing repo with its own package.json/node_modules at the root. I'm then adding a new folder called frontends which will become a pnpm monorepo.
The interesting part is I've installed Remix into the apps folder, but when I try to start the dev server it throws the error for a package that is found outside the frontends directory and in the root project. Is there a way I can get pnpm/vite to only look at the workspace root?
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^
[Error: ENOENT: no such file or directory, open '/Users/ericchernuka/workspace/xyz/frontends/apps/xyz-ssr/node_modules/@jobber/design/foundation.css'] {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/Users/ericchernuka/workspace/xyz/frontends/apps/xyz-ssr/node_modules/@jobber/design/foundation.css'
}