exhibitionist-digital / ultra

Zero-Legacy Deno/React Suspense SSR Framework
https://ultrajs.dev
MIT License
2.99k stars 65 forks source link

After build wouter/react-router refresh pages #251

Closed skorotkiewicz closed 1 year ago

skorotkiewicz commented 1 year ago

In dev mode everything works fine, but after build navigation () through App refresh every page. Also in dev mode works websocket for GunDB.js but after build WS don't connect to the server.

And after build I receive error:

Uncaught Error: Parse error https://stealthpad.deno.dev/vendor/browser/esm.sh/v119/node_process.js:29:1689

Uncaught (in promise) Error: Unsupported Content-Type "text/html; charset=utf-8" loading http://localhost:8000/vendor/browser/esm.sh/v119/readable-stream@3.6.2/es2022/lib/internal/streams/stream.js imported from http://localhost:8000/vendor/browser/esm.sh/v119/readable-stream@3.6.2/es2022/lib/_stream_readable.js. Modules must be served with a valid MIME type like application/javascript.

Here is my code: https://github.com/skorotkiewicz/StealthPad

mashaal commented 1 year ago

Your repo seems to use Aleph? Do you know if that node process is being called by the GunDB library?