You need NodeJS. You can run the bot with
$ node index.js
Where should I run that? Every time I get the same error.
C:\Users\leoth>node LeOS\index.js node:internal/modules/cjs/loader:903 throw err; ^
Error: Cannot find module 'C:\Users\leoth\LeOS\index.js' ←[90m at Function.Module._resolveFilename (node:internal/modules/cjs/loader:900:15)←[39m ←[90m at Function.Module._load (node:internal/modules/cjs/loader:745:27)←[39m ←[90m at Function.executeUserEntryPoint as runMain←[39m ←[90m at node:internal/main/run_main_module:17:47←[39m { code: ←[32m'MODULE_NOT_FOUND'←[39m, requireStack: [] }
You should be inside the folder that you put the code in.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You need NodeJS. You can run the bot with
Where should I run that? Every time I get the same error.
C:\Users\leoth>node LeOS\index.js
node:internal/modules/cjs/loader:903
throw err;
^
Error: Cannot find module 'C:\Users\leoth\LeOS\index.js'
←[90m at Function.Module._resolveFilename (node:internal/modules/cjs/loader:900:15)←[39m
←[90m at Function.Module._load (node:internal/modules/cjs/loader:745:27)←[39m
←[90m at Function.executeUserEntryPoint as runMain←[39m
←[90m at node:internal/main/run_main_module:17:47←[39m {
code: ←[32m'MODULE_NOT_FOUND'←[39m,
requireStack: []
}
You should be inside the folder that you put the code in.