Skip to content
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

A bug that crashes my Elysia backend #2851

Open
Revaycolizer opened this issue Nov 21, 2024 · 2 comments
Open

A bug that crashes my Elysia backend #2851

Revaycolizer opened this issue Nov 21, 2024 · 2 comments

Comments

@Revaycolizer
Copy link

Revaycolizer commented Nov 21, 2024

Recently I successfully build my elysia Backend but after packaging it in server , when I run it using ./server I get this error:

SyntaxError: Cannot declare a function that shadows a let/const/class/function variable 'i3'.
      at <parse> (/$bunfs/root/server:170:1)      at native:11:43Bun v1.1.34 (Linux x64)

Then I removed docx from my package.json and everything worked as I found that it's conflicting with prisma dependency

I hope this can be fixed as without the docx I cannot implement my ms word generator

@dolanmiu dolanmiu changed the title A bug that crashes my Elysia backend Recently I successfully build my elysia Backend but after packaging it in server , when I run it using ./server I get this error SyntaxError: Cannot declare a function that shadows a let/const/class/function variable 'i3'. at <parse> (/$bunfs/root/server:170:1) at native:11:43 Bun v1.1.34 (Linux x64) Then I removed docx from my package.json and everything worked as I found that it's conflicting with prisma dependency A bug that crashes my Elysia backend Nov 21, 2024
@dolanmiu
Copy link
Owner

Seems like a problem with bun:

oven-sh/bun#5732

And it's fixed here:

oven-sh/bun#12176

Can you update bun?

@Revaycolizer
Copy link
Author

Seems like a problem with bun:

oven-sh/bun#5732

And it's fixed here:

oven-sh/bun#12176

Can you update bun?

Yes but still the same error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants