Comments (5)
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 @hono/node-server
.
from node-server.
@lawandothman Great! Can we close this issue?
from node-server.
I'm using '[email protected]' with a custom adapter to run the dev server, here's the relevant vite config part
We may be able to fix it, but we cannot support this case because it is not how we expect it to be used.
from node-server.
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
from node-server.
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 @hono/vite-dev-server
successfully 🎉
from node-server.
Related Issues (20)
- Security vulnerability with serveStatic HOT 5
- Support compression gzip and deflate
- Vercel node issue: Cannot find module HOT 1
- Unified access to environment variables? HOT 3
- should use `writeFromReadableStream()` for a `ReadableStream` HOT 1
- `c.req.url` is always http HOT 7
- `app.mount()` is not working with `@hono/node-server` HOT 2
- SSE events not being output to clients HOT 1
- How to deal with `ERR_HTTP_HEADERS_SENT` errors? HOT 1
- Optimisations breaking `instanceof Response` checks HOT 6
- TypeError: Class extends value undefined is not a constructor or null
- Denial of Service in newRequest HOT 10
- Determine behaviour for HTTP1.0 request w/o Host header
- Return 400 or 500 if the Host header contains a path. HOT 1
- GET request -> c.req.body returns ReadableStream HOT 1
- HTTP TRACE method crashes server
- docker run get Cannot find package '@/models' imported from error HOT 2
- Issue with RequestError having static name property HOT 1
- Memory leak with `hono`, `@hono/node-server`, `@hono/graphql-server`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-server.