Duplicates
Latest version
Current behavior 😯
When using deno.json in place of package.json & tsconfig.json
app throws
[vite] (ssr) Error when evaluating SSR module $vinxi/handler/ssr: Client-only API called on the server side. Run client-only code in onMount, or conditionally run client-only component with <Show>.
at notSup (/solidstart-deno-bug-repro/node_modules/.deno/solid-js@1.9.9/node_modules/solid-js/web/dist/server.js:755:9)
at /solidstart-deno-bug-repro/node_modules/.deno/@solidjs+router@0.15.3/node_modules/@solidjs/router/dist/index.js:1637:27
Expected behavior 🤔
No errors should be thrown when deno.json is a 1:1 representation of package.json & tsconfig.json
Steps to reproduce 🕹
Steps:
- Run
deno init --npm solid@latest and select any of the templates
- Create a
deno.json with import map representing 1:1 dependencies from package.json & compilerOptions copied over from tsconfig.json
- Run
deno install
- Run
deno task dev
Can also use my minimal repro repo here (using the basic template):
https://github.com/khwalkowicz/solidstart-deno-bug-repro
Context 🔦
Considering deno runtime is supported with Solid & install instructions are in the docs I would expect all of deno's toolkit to be supported
I wanted to use deno linter & formatter & didn't want to keep both package.json and deno.json
Your environment 🌎
Duplicates
Latest version
Current behavior 😯
When using deno.json in place of package.json & tsconfig.json
app throws
Expected behavior 🤔
No errors should be thrown when deno.json is a 1:1 representation of package.json & tsconfig.json
Steps to reproduce 🕹
Steps:
deno init --npm solid@latestand select any of the templatesdeno.jsonwith import map representing 1:1 dependencies from package.json &compilerOptionscopied over fromtsconfig.jsondeno installdeno task devCan also use my minimal repro repo here (using the
basictemplate):https://github.com/khwalkowicz/solidstart-deno-bug-repro
Context 🔦
Considering deno runtime is supported with Solid & install instructions are in the docs I would expect all of deno's toolkit to be supported
I wanted to use deno linter & formatter & didn't want to keep both
package.jsonanddeno.jsonYour environment 🌎