Closed raymand211092 closed 1 year ago
Hey there @raymand211092, are you running the script while inside the bolt directory?
Yes...i followed the steps:
root@srv112118-206152:~# cd bolt/
root@srv112118-206152:~/bolt# ls
app changelog.md docker-compose.yml docs legalese.md LICENSE node_modules package.json package-lock.json README.md
root@srv112118-206152:~/bolt# node scripts/cli.js registerSlashCommands
node:internal/modules/cjs/loader:1093
throw err;
^
Error: Cannot find module '/root/bolt/scripts/cli.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1090:15)
at Module._load (node:internal/modules/cjs/loader:934:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v19.9.0
root@srv112118-206152:~/bolt#
@raymand211092 I don't think I can repro this locally, could you try to run Bolt using docker-compose and check to see if you still face the issue then?
when execute node scripts/cli.js registerSlashCommands :