Rik.Pagano
Rik.Pagano
DIAdiscord.js - Imagine an app
Created by Rik.Pagano on 11/18/2023 in #djs-questions
'BitFieldInvalid'
PS C:\Users\ricca\Desktop\MrProducer> node mrproducer.js C:\Users\ricca\Desktop\MrProducer\node_modules\discord.js\src\util\BitField.js:174 throw new DiscordjsRangeError(ErrorCodes.BitFieldInvalid, bit); ^ RangeError [BitFieldInvalid]: Invalid bitfield flag or number: undefined. at IntentsBitField.resolve (C:\Users\ricca\Desktop\MrProducer\node_modules\discord.js\src\util\BitField.js:174:11) at C:\Users\ricca\Desktop\MrProducer\node_modules\discord.js\src\util\BitField.js:168:35 at Array.map (<anonymous>) at IntentsBitField.resolve (C:\Users\ricca\Desktop\MrProducer\node_modules\discord.js\src\util\BitField.js:168:18) at new BitField (C:\Users\ricca\Desktop\MrProducer\node_modules\discord.js\src\util\BitField.js:33:38) at new IntentsBitField (C:\Users\ricca\Desktop\MrProducer\node_modules\discord.js\src\util\IntentsBitField.js:9:1) at Client._validateOptions (C:\Users\ricca\Desktop\MrProducer\node_modules\discord.js\src\client\Client.js:514:25) at new Client (C:\Users\ricca\Desktop\MrProducer\node_modules\discord.js\src\client\Client.js:80:10) at Object.<anonymous> (C:\Users\ricca\Desktop\MrProducer\mrproducer.js:2:16) at Module._compile (node:internal/modules/cjs/loader:1241:14) { code: 'BitFieldInvalid'
5 replies
DIAdiscord.js - Imagine an app
Created by Rik.Pagano on 11/18/2023 in #djs-questions
'BitFieldInvalid'
when I write in the terminal node filename.js
5 replies