Some problem that i have no idea about

idk fr 😭
No description
2 Replies
d.js toolkit
d.js toolkit2mo ago
- 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!
aruuvi
aruuviOP2mo ago
C:\Users\xaruu\OneDrive\Dokumenty\catt\catt-bot\node_modules\@sapphire\shapeshift\src\validators\NativeEnumValidator.ts:21
for (const key of this.enumKeys) {
^


TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at NativeEnumValidator (C:\Users\xaruu\OneDrive\Dokumenty\catt\catt-bot\node_modules\@sapphire\shapeshift\src\validators\NativeEnumValidator.ts:21:26)
at _Shapes.nativeEnum (C:\Users\xaruu\OneDrive\Dokumenty\catt\catt-bot\node_modules\@sapphire\shapeshift\src\lib\Shapes.ts:90:7)
at Object.<anonymous> (C:\Users\xaruu\OneDrive\Dokumenty\catt\catt-bot\node_modules\@discordjs\builders\src\interactions\slashCommands\Assertions.ts:118:4)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Object.transformer (C:\Users\xaruu\AppData\Local\npm-cache\_npx\fd45a72a545557e9\node_modules\tsx\dist\register-DCnOAxY2.cjs:2:1186)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
at Module.require (node:internal/modules/cjs/loader:1235:19)
at require (node:internal/modules/helpers:176:18)

Node.js v20.10.0
C:\Users\xaruu\OneDrive\Dokumenty\catt\catt-bot\node_modules\@sapphire\shapeshift\src\validators\NativeEnumValidator.ts:21
for (const key of this.enumKeys) {
^


TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at NativeEnumValidator (C:\Users\xaruu\OneDrive\Dokumenty\catt\catt-bot\node_modules\@sapphire\shapeshift\src\validators\NativeEnumValidator.ts:21:26)
at _Shapes.nativeEnum (C:\Users\xaruu\OneDrive\Dokumenty\catt\catt-bot\node_modules\@sapphire\shapeshift\src\lib\Shapes.ts:90:7)
at Object.<anonymous> (C:\Users\xaruu\OneDrive\Dokumenty\catt\catt-bot\node_modules\@discordjs\builders\src\interactions\slashCommands\Assertions.ts:118:4)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Object.transformer (C:\Users\xaruu\AppData\Local\npm-cache\_npx\fd45a72a545557e9\node_modules\tsx\dist\register-DCnOAxY2.cjs:2:1186)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
at Module.require (node:internal/modules/cjs/loader:1235:19)
at require (node:internal/modules/helpers:176:18)

Node.js v20.10.0
Want results from more Discord servers?
Add your server