Search
Star
1.4k
Feedback
Setup for Free
d-I❄
discord.js - Imagine ❄
•
3y ago
•
2 replies
CC8
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
discord.js - Imagine ❄
Join
Support server for discord.js, a Node.js module to interact with Discord's apps API.
58,084
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
import { Client, GatewayIntentBits } from 'discord.js'
import { Client, GatewayIntentBits } from 'discord.js'
Similar Threads
Module not found: Can't resolve 'zlib-sync'
d-I❄
discord.js - Imagine ❄ / djs-questions
3y ago
Zlib-sync failed to resolve
d-I❄
discord.js - Imagine ❄ / djs-questions
3y ago
Module not found: Can't resolve 'worker_threads'
d-I❄
discord.js - Imagine ❄ / djs-questions
3y ago
what are zlib-sync, bufferutil and utf-8-validate for?
d-I❄
discord.js - Imagine ❄ / djs-questions
3y ago