#TypeError: require(...).config is not a function

8 messages · Page 1 of 1 (latest)

mortal palm
#

this error comes up when I do npm run test. I searched all over my files and codes and I don't get why I am getting this error.

charred gateBOT
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

mortal palm
#

whenever i do node .

#

i get this typeerror error

pallid plover
#

show the stack? it should tell you what youre requiring

mortal palm
pallid plover
#

Well.... yeah it isnt?

#

Theres no config function in discord.js