-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Elysia 1.1.0 KitaJS HTML Issue #91
Comments
The current solution is using version 1.0.0 "@elysiajs/html": "1.0.0" 👍
"@elysiajs/html": "^1.0.0" 👎 |
I am also experiencing the same issues $ bun run --watch src/index.ts
1 | (function (entry, fetcher)
^
SyntaxError: export 'Html' not found in '@kitajs/html'
1 | (function (entry, fetcher)
^
SyntaxError: export 'Html' not found in '@kitajs/html'
^C
1 | (function (entry, fetcher)
^
SyntaxError: export 'Html' not found in '@kitajs/html'
1 | (function (entry, fetcher)
1 | (function (entry, fetcher)
^
SyntaxError: export 'Html' not found in '@kitajs/html'
1 | (function (entry, fetcher)
^
SyntaxError: export 'Html' not found in '@kitajs/html' "@elysiajs/html": "^1.1.0",
"elysia": "latest" |
Yes, you can use @sacsbrainz version 1.0.0
|
didn't work either $ bun run --watch src/index.ts
1 | (function (entry, fetcher)
^
SyntaxError: module '/home/sacs/Documents/dev/node_modules/@elysiajs/html/dist/index.js' does not have an export named 'default'. Did you mean 'html'?
1 | (function (entry, fetcher)
^
SyntaxError: module '/home/sacs/Documents/dev/node_modules/@elysiajs/html/dist/index.js' does not have an export named 'default'. Did you mean 'html'? |
This looks like the offending commit. |
Manually create the Html Object since kita removed it for some reason.
Yep looks like that. interface Props {
children: JSX.Element | JSX.Element[]
}
const Template = ({children}: Props) => {
return (
<div>{children}</div>
)
} You can always extends for the whole app using typescript definition file. |
Have a look to my last replies brother. |
I can confirm version ^1.0.2 works fine |
Hi guys, kita's v4.2.1 just fixed this issue. Sorry for the delay! ref: kitajs/html#261 |
You rock!! |
I upgraded my dependencies and can confirm @kitajs/html is version 4.2.1 but the error is still present. Is there something else I need to do or the @elysiajs/html plugin needs to be updated as well? |
clear your lock file (bun.lockb) and try again maybe
…On Sun, Aug 4, 2024 at 7:54 AM 8549 ***@***.***> wrote:
I upgraded my dependencies and can confirm @kitajs/html is version 4.2.1
but the error is still present. Is there something else I need to do or the
@elysiajs/html plugin needs to be updated as well?
—
Reply to this email directly, view it on GitHub
<#91 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHRBWFMRU47ZENZJGAPO5QLZPY6EFAVCNFSM6AAAAABLM3C56KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRXGU3TCMBQGU>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Did not work even overriding the version or deleting the bun.lockb |
Hello,
So, there is an issue with @elysiajs/html version 1.1.0 which html is not available imported from @kitajs/html.
it would be error like this .
The issue looks like the Html is not available in @kitajs/html.
Feel free to try and it still works on @elysiajs/html version 1.0.0
Thanks.
The text was updated successfully, but these errors were encountered: