Build Error and Database error
Considerated opened this issue · comments
Chillyy commented
Error whenever I try to run npm run build
:
Error:
info - Checking validity of types
Failed to compile.
./src/pages/_document.tsx
1:1 Error: next/document should not be imported outside of pages/_document.js.
Additional Info:
Discord.js Version: 13
Repo version: Latest
Node.js Version: 16
Chillyy commented
I also get a database error, when I disable the dashboard. I've tried whitelisting all IP's, tried creating a new user and stuff.
The error is:
error: querySrv ETIMEOUT _mongodb._tcp.midnightbot.tumhy.mongodb.net
at QueryReqWrap.onresolve [as oncomplete] (node:dns:213:19) {
errno: undefined,
code: 'ETIMEOUT',
syscall: 'querySrv',
hostname: '_mongodb._tcp.midnightbot.tumhy.mongodb.net'
}
Any form of help is hugely appreciated 🤗
Chillyy commented
Tried to fix the next error. Couldn't update eslint, because apparently, ghostybot uses a custom-made eslint plugin.
Casper, please update the package, thanks :D