Replies: 2 comments
-
好的,我貌似找到了解决方法,只需要将默认的导出改为 Bun.server。 -export default {
+Bun.serve({
fetch: app.fetch,
port: 3000
+})
-}; fix `Bun.serve` command for Hono by yusukebe · Pull Request #6763 · the-benchmarker/web-frameworks |
Beta Was this translation helpful? Give feedback.
0 replies
-
Same issue. Then I changed it to how pm2 config doc says. Still facing the same problem.
PM2 config doc - https://pm2.keymetrics.io/docs/usage/application-declaration/ |
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.
-
I cannot access port 3000 after starting with pm2, but everything works fine if I start directly with bun
How do I start with pm2?
The configuration of pm2 is the tutorial using bun Run Bun as a daemon with PM2 | Bun Examples
Beta Was this translation helpful? Give feedback.
All reactions