-
Notifications
You must be signed in to change notification settings - Fork 401
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Duplicates
- I have searched the existing issues
Latest version
- I have tested the latest version
Current behavior 😯
I made the issue here:
solidjs/solid#1839
But it seems to be more related to solid-start
rather than solid
itself.
The question is simple:
If I use ag-grid
, I need to disable ssr
. Then when building static website with solid-start-static
, it gives:
solid-start build
version 0.3.1
adapter static
file:///C:/Users/xarthurx/source/docRepo/ddmRemake/node_modules/.pnpm/solid-start-static@0.2.26_solid-start@0.3.1_undici@5.22.1_vite@4.4.6/node_modules/solid-start-static/index.js:26
if(!config?.solidOptions?.ssr) throw new Error('solid-start-static needs ssr to be enabled for pre-rendering routes at build time');
^
Error: solid-start-static needs ssr to be enabled for pre-rendering routes at build time
at Object.build (file:///C:/Users/xarthurx/source/docRepo/ddmRemake/node_modules/.pnpm/solid-start-static@0.2.26_solid-start@0.3.1_undici@5.22.1_vite@4.4.6/node_modules/solid-start-static/index.js:26:44)
at C:\Users\xarthurx\source\docRepo\ddmRemake\node_modules\.pnpm\solid-start@0.3.1_@solidjs+meta@0.28.5_@solidjs+router@0.8.2_solid-js@1.7.6_solid-start-node@_y6rguepyteilu3hg772t4psqxa\node_modules\solid-start\bin.cjs:136:20
Is there a proper solution for such a issue?
Expected behavior 🤔
I can build a static website with ag-grid enabled.
Steps to reproduce 🕹
Steps:
- make a website with solid-start, and install ag-grid
- make a table with ag-grid in the webpage
- build a static website with
solid-start-static
Context 🔦
No response
Your environment 🌎
OS: windows
Solid-Start: 0.3.1
Node: 18.17
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working