Replies: 2 comments
-
Do you have type: module in all your package.json files? I don't think hono works in combination with commonjs and module: node16. So just to exclude this issue double check that your project is esm based. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Having this issue, fixed by putting my server folder inside of Remix's /app directory as a hidden folder (name starts with '.') |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi im trying to setup hono with remix, and i keep getting typescript error
Module '"hono"' declares 'Hono' locally, but it is not exported.
look like it caused by
compilerOptions.moduleResolutions
but if i changed it my remix import just break (import with tsconfigpaths broken or some modules not found)am still not pretty sure what happened
Step to Reproduce
this is how tsconfig.ts,
just default remix
Depedencies
Anyone had simillar issue? thanks
Beta Was this translation helpful? Give feedback.
All reactions