We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Vite gives multiple errors:
Error when evaluating SSR module /src/routes/index.tsx: failed to import "solid-blocks" Error when evaluating SSR module /node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/solid-start/root/FileRoutes.tsx: failed to import "/src/routes/index.tsx" Error when evaluating SSR module /src/root.tsx: failed to import "/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/solid-start/root/FileRoutes.tsx" SyntaxError: Cannot use import statement outside a module
etc.
Any fixes available? Changing / removing excludes, externals or noExternals do not help.
vite.config.ts:
import solid from "solid-start/vite"; import { defineConfig } from "vite"; export default defineConfig({ plugins: [ solid({ ssr: true, experimental: { islandsRouter: true, islands: true } })], optimizeDeps: { include: ['mapbox-gl'], exclude: ["solid-blocks"] }, ssr: { external: ["solid-blocks"] } });
The text was updated successfully, but these errors were encountered:
Sorry, I haven't had the time to fix SSR. It's on my list.
Sorry, something went wrong.
No branches or pull requests
Vite gives multiple errors:
etc.
Any fixes available? Changing / removing excludes, externals or noExternals do not help.
vite.config.ts:
The text was updated successfully, but these errors were encountered: