docx icon indicating copy to clipboard operation
docx copied to clipboard

A bug that crashes my Elysia backend

Open Revaycolizer opened this issue 1 year ago • 2 comments

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

Revaycolizer avatar Nov 21 '24 05:11 Revaycolizer

Seems like a problem with bun:

https://github.com/oven-sh/bun/issues/5732

And it's fixed here:

https://github.com/oven-sh/bun/issues/12176

Can you update bun?

dolanmiu avatar Nov 21 '24 10:11 dolanmiu

Seems like a problem with bun:

https://github.com/oven-sh/bun/issues/5732

And it's fixed here:

https://github.com/oven-sh/bun/issues/12176

Can you update bun?

Yes but still the same error

Revaycolizer avatar Nov 22 '24 08:11 Revaycolizer