Open mrctrifork opened 8 months ago
Looks like it's been fixed in 'main' branch. I got that same issue using the version available on npm. To work with the plugin in the meantime until a new version with a fix is published on npm I did the following: 1) Checked out the repo 2) cd elysia-html; bun install && bun run build && bun link 3) cd to_your_project; bun link @elysiajs/html --save
Thank you for the workaround and the headsup. I'll try this whenever I get the oportunity. In the meantime I have just installed react and rolled out my own SSR with bun. It was transparently easy.
Looks like it's been fixed in 'main' branch. I got that same issue using the version available on npm. To work with the plugin in the meantime until a new version with a fix is published on npm I did the following:
- Checked out the repo
- cd elysia-html; bun install && bun run build && bun link
- cd to_your_project; bun link @elysiajs/html --save
I spent hours figuring out what I was doing wrong, then I found this one, helped me fix my issue! Thanks!
Everything was working fine for me on 0.8.0
so if you don't want to do the workaround you could just go:
bun add @elysiajs/html@0.8.0
Hi I've been through the setup phase of a basic server and when trying to add the html module it seems like it doesn't work.
Hello world program results in error after
use(html())