Typings build errors node_modules/discord.js/typings/index.d.ts
node -v
v20.3.1
"discord.js": "^14.12.1"
"typescript": "^4.9.5"
skipLibCheck:true
strict:true
Unable to figure out a build issue that has just started occuring. Definetly missing something obvious.
Have attempted clearing package lock and node modules and reinstalling all dependencies after I started encountering build errors out the blue on npm run build
in the typings.index.ts
file (97 total) examples:
4 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!Unknown User•17mo ago
Message Not Public
Sign In & Join Server To View
Yea... something obvious then, wasn't using
@latest
on my typescript upgrade so wasn't bumping to 5
cheers - this is solved