pollSync error

I just started the bot and I get this error by default
C:\Users\Charl\OneDrive\Escritorio\Rox\node_modules\@sapphire\utilities\dist\lib\pollSync.js:10
AbortSignal.abort().reason.constructor
^

TypeError: Cannot read properties of undefined (reading 'constructor')
at Object.<anonymous> (C:\Users\Charl\OneDrive\Escritorio\Rox\node_modules\@sapphire\utilities\dist\lib\pollSync.js:10:29)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (C:\Users\Charl\OneDrive\Escritorio\Rox\node_modules\@sapphire\utilities\dist\index.js:38:19)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
C:\Users\Charl\OneDrive\Escritorio\Rox\node_modules\@sapphire\utilities\dist\lib\pollSync.js:10
AbortSignal.abort().reason.constructor
^

TypeError: Cannot read properties of undefined (reading 'constructor')
at Object.<anonymous> (C:\Users\Charl\OneDrive\Escritorio\Rox\node_modules\@sapphire\utilities\dist\lib\pollSync.js:10:29)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (C:\Users\Charl\OneDrive\Escritorio\Rox\node_modules\@sapphire\utilities\dist\index.js:38:19)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
8 Replies
Chessie
Chessie11mo ago
Do I need a version of node greater than 16?
kyra
kyra11mo ago
Yes, Node.js v14 wasn't supported for a long time.
Chessie
Chessie11mo ago
greenTick for confirming
Favna
Favna11mo ago
Node 14 is EOL and it's a security issue to still use it.
Zaros
Zaros10mo ago
Hello I have the same error :
F:\DiscordBot\ig-bot\node_modules\@sapphire\utilities\dist\lib\pollSync.js:10
AbortSignal.abort().reason.constructor
^

TypeError: Cannot read properties of undefined (reading 'constructor')
at Object.<anonymous> (F:\DiscordBot\ig-bot\node_modules\@sapphire\utilities\dist\lib\pollSync.js:10:29)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (F:\DiscordBot\ig-bot\node_modules\@sapphire\utilities\dist\index.js:38:19)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
F:\DiscordBot\ig-bot\node_modules\@sapphire\utilities\dist\lib\pollSync.js:10
AbortSignal.abort().reason.constructor
^

TypeError: Cannot read properties of undefined (reading 'constructor')
at Object.<anonymous> (F:\DiscordBot\ig-bot\node_modules\@sapphire\utilities\dist\lib\pollSync.js:10:29)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (F:\DiscordBot\ig-bot\node_modules\@sapphire\utilities\dist\index.js:38:19)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
Node Version : v16.11.0
Favna
Favna10mo ago
Update to Node 18 Node 16 is EOL at the end of this very month
Zaros
Zaros10mo ago
Ok I'll try, thanks Maybe it would be interesting to update the doc
No description
Favna
Favna9mo ago
ah yeah This has been fixed in the guide