nsupportedCacheOverwriteWarning
got this error stack on fresh ts project , anyone could tell me whats wrong ?
app.ts
7 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!Could you turn on --trace-warnings? The code youve shown shouldnt be doing that
@jiralite Yes.
So using
npx ts-node src/app.ts
will "fix" the issue basically?<:issue_open:852714230280486942> #9770 in discordjs/discord.js by SomeAspy opened <t:1691872976:R>
UnsupportedCacheOverwriteWarning when using TSX
Well, i actually tested it and errors were Away.. 😂
You should compile your typescript instead of using tsx or ts-node
Thanks for your assistance mans
So basically tsc before prod?
Well ts is new to me. I'd love to have more ts related questions. Am i allowed to ask for specific ts approaches in the fórum here?
For specific solutions for d.js?
Alr, thanks a lot
Have a good one