loading...

re: How to set up a Discord music bot VIEW POST

TOP OF THREAD FULL DISCUSSION
re: internal/modules/cjs/loader.js:305 throw err; ^ Error: Cannot find module 'C:\Users\Truong Anh\Desktop\bot1\index.js'. Please verify t...

Um do you have a package.json file?
If you cloned mine just run npm install

Seems like the problem doesn't occur anymore. Now it has to display an error like this one:

Structures.extend('Guild', Guild => {
^

TypeError: Cannot read property 'extend' of undefined
at Object. (C:\Users\me\Downloads\sateenkaari\index.js:6:12)
[90m at Module._compile (internal/modules/cjs/loader.js:1128:30)[39m
[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1167:10)[39m
[90m at Module.load (internal/modules/cjs/loader.js:983:32)[39m
[90m at Function.Module._load (internal/modules/cjs/loader.js:891:14)[39m
[90m at Function.executeUserEntryPoint as runMain[39m
[90m at internal/main/run_main_module.js:17:47[39m

you probably did not install discord.js master, hit

npm i discordjs/discord.js

code of conduct - report abuse