Skip to content

issues starting any app or the web interface: command hangs and exception found in log #84

@kilnan

Description

@kilnan

Just as the title states, if I try

pod start myapp

or

pod web start

the command hangs, and in pm2.log I find this

2018-01-05 13:02:33: [PM2] Error caught by domain:
TypeError: "listener" argument must be a function
    at ChildProcess.removeListener (events.js:360:15)
    at workAround (/usr/lib/node_modules/pod/node_modules/pm2/lib/God.js:130:20)
    at nodeApp (/usr/lib/node_modules/pod/node_modules/pm2/lib/God.js:159:7)
    at Object.nodeApp (/usr/lib/node_modules/pod/node_modules/pm2/lib/God/ClusterMode.js:78:12)
    at Object.executeApp (/usr/lib/node_modules/pod/node_modules/pm2/lib/God.js:145:9)
    at ex (/usr/lib/node_modules/pod/node_modules/pm2/lib/God.js:361:18)
    at prepare (/usr/lib/node_modules/pod/node_modules/pm2/lib/God.js:367:7)
    at Server.onmessage (/usr/lib/node_modules/pod/node_modules/pm2-axon-rpc/lib/server.js:105:6)
    at emitTwo (events.js:125:13)
    at RepSocket.emit (events.js:213:7)

pm2 version: 0.12.16
pod version: 0.9.0
node version: 8.7.0
npm version: 4.6.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions