Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solid: nx integrated monorepo vite config #1061

Open
jeffruby opened this issue Dec 30, 2023 · 0 comments
Open

Solid: nx integrated monorepo vite config #1061

jeffruby opened this issue Dec 30, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@jeffruby
Copy link

Describe the bug
Missing config in vite.config.ts causes start page to not load on new solid app. I was able to fix this by adding fs: { allow: ['../..'], }, inside the server section of vite.config.ts.

To Reproduce

  1. Setup a solid app in a nx integrated monorepo, using pnpm.
  2. Serve the app and attempt to view the start page.

Expected behavior
You can view the start page.

Additional context
Blank page in browser with this console error: The request url "/monoreporoot/apps/app/src/index.tsx" is outside of Vite serving allow list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant