SSR build failing

I'm attempting to get solid SSR working with deno via esbuild and esbuild-plugin-solid. In order to access solid, I have an import map where solid-js uses npm:solid-js and solid-js/web, ditto. In order to run the app, I need to import the SSR build. However, the following error occurs
Task ssr deno run --allow-env --allow-write --allow-read --allow-net --allow-run --unstable './scripts/ssr.ts' --watch
error: Uncaught SyntaxError: The requested module 'solid-js/web' does not provide an export named 'getNextElement'
import { getNextElement as _$getNextElement } from "solid-js/web";
^
at <anonymous> (file:///home/tntman/projects/solid-esbuild-unocss-demo/server/server.js:20:10)
Task ssr deno run --allow-env --allow-write --allow-read --allow-net --allow-run --unstable './scripts/ssr.ts' --watch
error: Uncaught SyntaxError: The requested module 'solid-js/web' does not provide an export named 'getNextElement'
import { getNextElement as _$getNextElement } from "solid-js/web";
^
at <anonymous> (file:///home/tntman/projects/solid-esbuild-unocss-demo/server/server.js:20:10)
2 Replies
A Badly Drawn Wobbler
the server.js file oh bru I forgor to set the generation mode to ssr
Want results from more Discord servers?
Add your server