Open MadonnaaGH opened 2 years ago
to me it gives a different error (I'm creating a bot discord (handler commands) and it gives me this error I don't understand, in case I also leave you the video of the tutorial I'm watching.
https://www.youtube.com/watch?v=5cx8tT2MbgA&list=PL99hawEZ_aqDjef-_JxD-pVKtmashxcLr
throw new ERR_INVALID_ARG_TYPE(name, 'number', value); ^
TypeError [ERR_INVALID_ARG_TYPE]: The "fd" argument must be of type number. Received type string ('./commands/')
to me it gives a different error (I'm creating a bot discord (handler commands) and it gives me this error I don't understand, in case I also leave you the video of the tutorial I'm watching.
https://www.youtube.com/watch?v=5cx8tT2MbgA&list=PL99hawEZ_aqDjef-_JxD-pVKtmashxcLr
TypeError [ERR_INVALID_ARG_TYPE]: The "fd" argument must be of type number. Received type string ('./commands/')