Skip to content

Instantly share code, notes, and snippets.

@Arkotek
Created April 27, 2016 10:25
Show Gist options
  • Save Arkotek/1c25b027f195f13cc44c0828d09fcea9 to your computer and use it in GitHub Desktop.
Save Arkotek/1c25b027f195f13cc44c0828d09fcea9 to your computer and use it in GitHub Desktop.
[PM2] PM2 stopped
>> RELOAD LOGS (ENTIRE EXISTS)
[PM2] Spawning PM2 daemon
2016-04-27 10:21:00: [PM2][WORKER] Started with refreshing interval: 30000
2016-04-27 10:21:00: [[[[ PM2/God daemon launched ]]]]
2016-04-27 10:21:00: BUS system [READY] on port /home/travis/.pm2/pub.sock
2016-04-27 10:21:00: RPC interface [READY] on port /home/travis/.pm2/rpc.sock
[PM2] PM2 Successfully daemonized
[PM2] Starting throw-later.js in fork_mode (1 instance)
2016-04-27 10:21:00: Starting execution sequence in -fork mode- for app name:throw-later id:0
2016-04-27 10:21:00: App name:throw-later id:0 online
[PM2] Done.
┌─────────────┬────┬──────┬───────┬────────┬─────────┬────────┬─────────────┬──────────┐
│ App name │ id │ mode │ pid │ status │ restart │ uptime │ memory │ watching │
├─────────────┼────┼──────┼───────┼────────┼─────────┼────────┼─────────────┼──────────┤
│ throw-later │ 0 │ fork │ 32371 │ online │ 0 │ 0s │ 13.043 MB │ disabled │
└─────────────┴────┴──────┴───────┴────────┴─────────┴────────┴─────────────┴──────────┘
Use `pm2 show <id|name>` to get more details about an app
Reloading all logs...
2016-04-27 10:21:00: Reloading logs...
2016-04-27 10:21:00: Reloading logs for process id 0
All logs reloaded
2016-04-27 10:21:00: App [throw-later] with id [0] and pid [32371], exited with code [255] via signal [SIGINT]
fs.js:540
binding.open(pathModule._makeLong(path),
^
TypeError: path must be a string
at TypeError (native)
at Object.fs.open (fs.js:540:11)
at WriteStream.open (fs.js:1834:6)
at new WriteStream (fs.js:1824:10)
at Object.fs.createWriteStream (fs.js:1780:10)
at /home/travis/build/Unitech/pm2/lib/Utility.js:126:23
at fn (/home/travis/build/Unitech/pm2/node_modules/async/lib/async.js:746:34)
at /home/travis/build/Unitech/pm2/node_modules/async/lib/async.js:1213:16
at /home/travis/build/Unitech/pm2/node_modules/async/lib/async.js:166:37
at /home/travis/build/Unitech/pm2/node_modules/async/lib/async.js:706:43
3
------------> ✔ Should have "tick" in out log.
0
######## ✘ Should have "Error" in error log.
npm ERR! Test failed. See above for more details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment