Failed to compileModule not found: Can't resolve 'zlib-sync'

getting this error when just doing
import { Client, GatewayIntentBits } from 'discord.js'
import { Client, GatewayIntentBits } from 'discord.js'
which is weird cause i thought zlib is an optional package
2 Replies
d.js toolkit
d.js toolkit2y ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
CC8
CC8OP2y ago
yeah thanks
Want results from more Discord servers?
Add your server