SolidJSS
SolidJSโ€ข14mo agoโ€ข
7 replies
Md. Golam Kibria Raihan

Can't start solid start project

this is my dependencies. When try npm run dev and access the localhost:3000
this throws this
11:05:49 PM [vite] Error when evaluating SSR module $vinxi/handler/ssr:
|- Error: Client-only API called on the server side. Run client-only code in onMount, or conditionally run client-only component with <Show>.
at Module.notSup (file:///E:/SolidStartjs/firstTime%20SolidStart/solid-first/node_modules/solid-js/web/dist/server.js:1136:9)
at eval (eval at instantiateModule (file:///E:/SolidStartjs/firstTime%20SolidStart/solid-first/node_modules/@solidjs/start/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:52963:24), <anonymous>:1470:49)
at async instantiateModule (file:///E:/SolidStartjs/firstTime%20SolidStart/solid-first/node_modules/@solidjs/start/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:52972:5)
image.png
Was this page helpful?