Username: Password:

Author Topic: install help  (Read 2379 times)

Offline coins4thewin

  • Rookie
  • *
  • Posts: 1
    • View Profile
install help
« on: January 26, 2021, 06:44:54 PM »
hey guys, so I just bought a new macbok air and am trying to get the bot up and running and keep running into this error message when I open the terminal window in Gunthy and I have no idea what to do




/Users/andrewodom/Downloads/mac_v14/gunthy-macos ; exit;                       
andrewodom@andrews-Air ~ % /Users/andrewodom/Downloads/mac_v14/gunthy-macos ; exit;
Error: ENOENT: no such file or directory, open '/Users/andrewodom/config.js'
1) If you want to compile the package/file into executable, please pay attention to compilation warnings and specify a literal in 'require' call. 2) If you don't want to compile the package/file into executable and want to 'require' it from filesystem (likely plugin), specify an absolute path in 'require' call using process.cwd() or process.execPath.
    at Object.openSync (fs.js:461:3)
    at Object.fs.openSync (pkg/prelude/bootstrap.js:487:32)
    at Object.readFileSync (fs.js:364:35)
    at Object.fs.readFileSync (pkg/prelude/bootstrap.js:683:36)
    at Object.<anonymous> (/snapshot/test/Desktop/node14/bot.gunbot.js)
    at Module._compile (pkg/prelude/bootstrap.js:1320:22)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1218:10)
    at Module.load (internal/modules/cjs/loader.js:1047:32)
    at Function.Module._load (internal/modules/cjs/loader.js:935:14)
    at Module.require (internal/modules/cjs/loader.js:1087:19) {
  errno: -2,
  syscall: 'open',
  code: 'ENOENT',
  path: '/Users/andrewodom/config.js',
  pkg: true
} Uncaught Exception thrown

Offline Aitor

  • Administrator
  • *****
  • Posts: 570
  • Telegram: @AitorRuiz Gunbot.shop
    • View Profile
    • Gunbot
Re: install help
« Reply #1 on: January 26, 2021, 10:38:22 PM »
hey guys, so I just bought a new macbok air and am trying to get the bot up and running and keep running into this error message when I open the terminal window in Gunthy and I have no idea what to do




/Users/andrewodom/Downloads/mac_v14/gunthy-macos ; exit;                       
andrewodom@andrews-Air ~ % /Users/andrewodom/Downloads/mac_v14/gunthy-macos ; exit;
Error: ENOENT: no such file or directory, open '/Users/andrewodom/config.js'
1) If you want to compile the package/file into executable, please pay attention to compilation warnings and specify a literal in 'require' call. 2) If you don't want to compile the package/file into executable and want to 'require' it from filesystem (likely plugin), specify an absolute path in 'require' call using process.cwd() or process.execPath.
    at Object.openSync (fs.js:461:3)
    at Object.fs.openSync (pkg/prelude/bootstrap.js:487:32)
    at Object.readFileSync (fs.js:364:35)
    at Object.fs.readFileSync (pkg/prelude/bootstrap.js:683:36)
    at Object.<anonymous> (/snapshot/test/Desktop/node14/bot.gunbot.js)
    at Module._compile (pkg/prelude/bootstrap.js:1320:22)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1218:10)
    at Module.load (internal/modules/cjs/loader.js:1047:32)
    at Function.Module._load (internal/modules/cjs/loader.js:935:14)
    at Module.require (internal/modules/cjs/loader.js:1087:19) {
  errno: -2,
  syscall: 'open',
  code: 'ENOENT',
  path: '/Users/andrewodom/config.js',
  pkg: true
} Uncaught Exception thrown

Try executing the command: "./gunthy_macos" and be sure you are placed on bot directory.