Closed Hiura-Souji closed 2 years ago
First, bash doesn't work in windows, so remove the postinstall
array in package.json
.
Second,this could've been a package fault, so try deleting node_modules
tldr:
Remove postinstall
array on package.json, then npm i again. And now node index.js
This isn't a bug, but just a fault in code. If this solves your issue, you can now close this issue
fixed
h
hello thank you for your help now the msg is show:
`D:_dc_bot\Music\Discord-MusicBot\v5_Aruma>node index.js Make sure to fill in the config.js before starting the bot. [22:5:2022 - 15:15] | Started the bot... D:_dc_bot\Music\Discord-MusicBot\v5_Aruma\lib\DiscordMusicBot.js:50 throw Error(err); ^
Error: TypeError: Cannot read properties of undefined (reading 'startsWith') at D:_dc_bot\Music\Discord-MusicBot\v5_Aruma\lib\DiscordMusicBot.js:50:15 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v18.4.0`
Remove
node_modules
, then npm i again. And nownode index.js
Must've been your failed installation earlier
i am so sorry it is config have a new val and i use old ver config......
it is can run now. thank you~
npm install & node index.js is error...
Include a reproducible code sample here, if possible:
Further details:
Relevant client options: