You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
deno run -A -r https://deno.land/x/ultra/create.ts
build the project w/:
deno task build
navigate into the build dir and try to serve the project:
cd .ultra/ && deno task start
the following error pops up:
Task start ULTRA_MODE=production deno run -A --no-remote ./server.js
error: Uncaught SyntaxError: The requested module 'react-dom/server' does not provide an export named 'renderToString'
import { renderToString } from "react-dom/server";
taking a look at the .ultra directory and especially at importMap.server.json it looks like there's a mismatch in the linked dependencies:
Thanks for reporting! I think it could be due to the fact that esm.sh changed how it handles waterfall dependencies and the wrong module is being detected during the build
steps to reproduce:
the following error pops up:
taking a look at the
.ultra
directory and especially atimportMap.server.json
it looks like there's a mismatch in the linked dependencies:rather than linking to
react-dom/server
, esm.sh seems to link toreact
again, thus failing to find the import.The text was updated successfully, but these errors were encountered: