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
nextjs app router + nodejs not working #2466
Comments
Hi @rengechan Hmm. I've tried, but I can't reproduce it. Could you share a minimal project to reproduce it? |
@rengechan, I had the same issue, I was looking for some solution, I have changed the line
Now it is working, but in the terminal still the message. |
I'm working on a client and service gateway project using vite-dev-server plugin and ran into this issue, but it only happens when I run the vite dev server in a docker container (my preferred workflow). To reproduce, you can clone the repo and bring up the dev container with compose:
This outputs:
Note the line after the vite command Everything works perfectly fine on the local machine when running Not a huge blocker, I prefer to work in docker-compose but saw someone else reported the error and thought since I had an easy repro would post here. Thanks for all the work on Hono! As a previous express user love the API! ❤️ 🙏 I've been playing with patterns for dependency injection and just found the factory/Env pattern |
What version of Hono are you using?
4.2.1
What runtime/platform is your app running on?
nodejs
What steps can reproduce the bug?
src\app\api\[[...route]]\route.ts
with
export const GET = handle(app);
error
with default export
export default handle(app);
error
What is the expected behavior?
No response
What do you see instead?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: