-
-
Notifications
You must be signed in to change notification settings - Fork 234
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
Plugin type error after updating Elysia version #29
Comments
This might sound weird but while I was able to replicate the error, seems like Bun accidentally installed an To verify, can you please go into If this happens, can you try deleting If the issue still persists, can you please try again with either npm / yarn / pnpm to see if the problem still occurs? |
Additionally, I found that, this occurs only when you update from elysia version with plugin installed. So, suppose you previously has Elysia 0.3.1 installed with Deleting Will report this to Bun. |
Oh, There was a |
@SaltyAom Hi! After updating elysia from TypeError: Spread syntax requires ...iterable not be null or undefined
at _use (/home/mrbye/Documents/GitHub/flow-server/node_modules/elysia/dist/bun/index.js:341:34605)
at /home/mrbye/Documents/GitHub/flow-server/node_modules/elysia-autoroutes/dist/index.js:10186:5
at processTicksAndRejections (:61:77) (Also tested |
@1bye when i used this library, i got the same error) |
@kravetsone Hi! Thanks for this plugin |
In my plugin elysia version never been |
@kravetsone Sorry this error was in my project, I've installed your plugin when I had elysia |
Could we open this issue again? This is my starter and got linter and type-checking issue when upgrade from 0.7 to 0.8? jellydn/elysia-demo-app#68 |
I just shot myself on the foot with this one. Gonna switch to pnpm now. |
I would like to report that I'm experiencing a type error after updating to version 0.3.2.
I have tested the packages
@elysiajs/cookie
,@elysiajs/static
, and@elysiajs/swagger
.Each plugins has type error like this:
Additionally, I have encountered a runtime issue with
@elysiajs/swagger
.For your reference, the tested package versions are as follows:
elysia: 0.3.2
@elysiajs/cookie: 0.3.0
@elysiajs/static: 0.3.2
@elysiajs/swagger: 0.3.0
The text was updated successfully, but these errors were encountered: