SolidJSS
SolidJSโ€ข4y agoโ€ข
4 replies
Your local wobbler: Suya

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)
Was this page helpful?