Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.61 KB

troubleshooting.md

File metadata and controls

37 lines (26 loc) · 1.61 KB
title head
Troubleshooting - ElysiaJS
meta
property content
og:title
Troubleshooting - ElysiaJS
meta
name content
description
This section helps you resolve common issues in ElysiaJS. Whether you're facing compatibility problems, configuration errors, performance bottlenecks, or bugs from updates, you'll find guidance here. Start by consulting the documentation and community channels for potential solutions. Make use of debugging tools and logs to pinpoint issues. Keeping your environment well-configured and updated can prevent many common problems.
meta
property content
og:description
This section helps you resolve common issues in ElysiaJS. Whether you're facing compatibility problems, configuration errors, performance bottlenecks, or bugs from updates, you'll find guidance here. Start by consulting the documentation and community channels for potential solutions. Make use of debugging tools and logs to pinpoint issues. Keeping your environment well-configured and updated can prevent many common problems.

Troubleshooting

EADDRINUSE: Failed to start server. Is port in use?

Do not export default app as Bun's auto-execution feature will cause the Elysia server to run twice.

Do this:

export const app = new Elysia().listen(3000)

Instead of:

const app = new Elysia().listen(3000)

export default app

For more details, checkout: elysiajs/elysia#550