-
Notifications
You must be signed in to change notification settings - Fork 51
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
TypeError: Cannot read private member #body from an object whose class did not declare it #150
Comments
We may be able to fix it, but we cannot support this case because it is not how we expect it to be used. |
Hey @yusukebe That would be awesome thank you! out of interest how do you expect it to be used with vite? I had a look through the documentation of vite-plugin-node and hono is not supported there out of the box so I opted to use the custom adapter |
Have you ever seen this? https://github.com/honojs/vite-plugins/tree/main/packages/dev-server We are developing our custom dev-server for Vite using the |
Thanks for the suggestion @yusukebe I did come across that plugin today as I was debugging this issue, I will give it a spin in the meanwhile and see how it goes 🤞 Update: I managed to integrate with |
@lawandothman Great! Can we close this issue? |
Since upgrading @hono/node-server to 1.6.0 we are seeing the following error when starting the dev server
I'm using 'vite-plugin-node@3.1.0' with a custom adapter to run the dev server, here's the relevant vite config part
I suspect this PR is the culprit here #133
The text was updated successfully, but these errors were encountered: