wtfnotavailable / Discord-MusicBot

Discord Music Bot Source Tree
Other
179 stars 84 forks source link

Issue with fastify v4.26.0 #204

Closed RJ1002 closed 9 months ago

RJ1002 commented 9 months ago

Please describe the problem you are having in as much detail as possible:

so I grabbed the latest version(5.5.0) and ran the npm run update and it ran fine. but every time you try to start it gives the following error after > tsc -p api/v1/tsconfig.json:

image image

I'm able to fix it by setting fastify to 4.25.0 in package.json: image

Include a reproducible code sample here, if possible, the snippet of code which is throwing the error or which you presume is giving issues:

so maybe a change to fastify broke something or it an issue with my nodejs/windows 10. it seems to be related to deploying the slash commands since it also throws an error when running npm run deploy it seems to start in djs-bot/api/v1/src/index.ts

If you have your own setup, without the original docker configuration, please provide:

Further details:

Relevant client options:

Neko-Life commented 9 months ago

should be fixed in v5.5.1 now