jeansaad / chalet

🏩 A simple process manager for developers. Start apps from your browser and access them using local domains
MIT License
156 stars 19 forks source link

crashing on server start #19

Closed k1ng440 closed 2 years ago

k1ng440 commented 3 years ago
Exiting
Stop daemon
Remove pid file
internal/fs/utils.js:785
  throw new ERR_INVALID_ARG_TYPE(
  ^

TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of Error
    at Object.writeFile (fs.js:1487:5)
    at Object.appendFile (fs.js:1550:6)
    at Group._log (/home/k1ng/.nvm/versions/node/v14.17.0/lib/node_modules/chalet/lib/daemon/group.js:134:12)
    at Monitor.<anonymous> (/home/k1ng/.nvm/versions/node/v14.17.0/lib/node_modules/chalet/lib/daemon/group.js:249:23)
    at Monitor.emit (events.js:388:22)
    at ChildProcess.<anonymous> (/home/k1ng/.nvm/versions/node/v14.17.0/lib/node_modules/chalet/node_modules/respawn/index.js:164:12)
    at ChildProcess.emit (events.js:376:20)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
    at onErrorNT (internal/child_process.js:467:16)
    at processTicksAndRejections (internal/process/task_queues.js:82:21) {
  code: 'ERR_INVALID_ARG_TYPE'
}
jeansaad commented 2 years ago

Could you please provide context on what command u are using and how the configs look like?

jeansaad commented 2 years ago

Closing due to inactivity. @k1ng440, if the problem persists, please re-open with more details.