Closed warcayac closed 1 month ago
Have you try deleting node_modules, bun.lockb and try again yet?
Yes, I did that but the problem persists.
Have you try deleting node_modules, bun.lockb and try again yet?
Deleting the node_modules
and running bun install
resolved this for me. 🤔
I think this error is related to Elysia version because recently I updated it to 1.1.5 and all is working as expected again.
What version of Elysia.JS is running?
1.1.4
What platform is your computer?
Linux 6.9.10-zen1-1-zen x86_64 unknown
What steps can reproduce the bug?
In my Elysia projects I use my custom plugins, and when Bun/Elysia releases an update then I need to update my projects and plugins by running
bun update
because VS Code shows errors like "No overload matches this call" and "This expression is not callable" on my main project around statements related to my custom plugins, so updating my plugins resolves this problem.After weeks of inactivity I updated Bun/Elysia then updated my plugins but those error messages like "No overload matches this call" and "This expression is not callable" persist. To determine where the problem is originated I commented almost all of the plugin code but the problem continues to persist, so apparently the problem is not with my plugins but with the Elysia update.
Basic project
package.json
tsconfig.json
src/index.tsx
Plugin code: wac-elysia
package.json
tsconfig.json
src/wlogger/index.ts
index.ts
What is the expected behavior?
No error messages
What do you see instead?
Placing the cursor on wlogger, the error details are as follows:
Additional information
No response