{"action":"created","issue":{"url":"https://api.github.com/repos/Unitech/pm2/issues/2071","repository_url":"https://api.github.com/repos/Unitech/pm2","labels_url":"https://api.github.com/repos/Unitech/pm2/issues/2071/labels{/name}","comments_url":"https://api.github.com/repos/Unitech/pm2/issues/2071/comments","events_url":"https://api.github.com/repos/Unitech/pm2/issues/2071/events","html_url":"https://github.com/Unitech/pm2/issues/2071","id":146129449,"number":2071,"title":"pm2-dev @ 1.1.1 fails with Cannot find module '../lib/Log'","user":{"login":"wulfsolter","id":1692132,"avatar_url":"https://avatars.githubusercontent.com/u/1692132?v=3","gravatar_id":"","url":"https://api.github.com/users/wulfsolter","html_url":"https://github.com/wulfsolter","followers_url":"https://api.github.com/users/wulfsolter/followers","following_url":"https://api.github.com/users/wulfsolter/following{/other_user}","gists_url":"https://api.github.com/users/wulfsolter/gists{/gist_id}","starred_url":"https://api.github.com/users/wulfsolter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wulfsolter/subscriptions","organizations_url":"https://api.github.com/users/wulfsolter/orgs","repos_url":"https://api.github.com/users/wulfsolter/repos","events_url":"https://api.github.com/users/wulfsolter/events{/privacy}","received_events_url":"https://api.github.com/users/wulfsolter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-05T22:46:04Z","updated_at":"2016-04-12T21:17:11Z","closed_at":null,"body":"Node: v5.10.0\r\nPM2: 1.1.1\r\n\r\nConsole:\r\n    $ pm2-dev app.js\r\n\r\n    module.js:341\r\n        throw err;\r\n        ^\r\n    \r\n    Error: Cannot find module '../lib/Log'\r\n        at Function.Module._resolveFilename (module.js:339:15)\r\n        at Function.Module._load (module.js:290:25)\r\n        at Module.require (module.js:367:17)\r\n        at require (internal/module.js:16:19)\r\n        at Object.<anonymous> (/usr/local/lib/node_modules/pm2/bin/pm2-dev:10:17)\r\n        at Module._compile (module.js:413:34)\r\n        at Object.Module._extensions..js (module.js:422:10)\r\n        at Module.load (module.js:357:32)\r\n        at Function.Module._load (module.js:314:12)\r\n        at Function.Module.runMain (module.js:447:10)\r\n\r\n~/.pm2/pm2.log\r\n\r\n    2014-05-26T23:39:53.925Z : Trace: [Error: todelete0 : id unknown]\r\n        at Object.God.logAndGenerateError (/usr/local/share/npm/lib/node_modules/pm2/lib/God/Methods.js:26:15)\r\n        at /usr/local/share/npm/lib/node_modules/pm2/lib/God/ActionMethods.js:211:30\r\n        at Object.God.stopProcessId (/usr/local/share/npm/lib/node_modules/pm2/lib/God/ActionMethods.js:127:14)\r\n        at Object.God.deleteProcessId (/usr/local/share/npm/lib/node_modules/pm2/lib/God/ActionMethods.js:210:9)\r\n        at Worker.<anonymous> (/usr/local/share/npm/lib/node_modules/pm2/lib/God/Reload.js:121:13)\r\n        at Worker.g (events.js:180:16)\r\n        at Worker.EventEmitter.emit (events.js:95:17)\r\n        at Object.messageHandler.listening (cluster.js:256:12)\r\n        at handleMessage (cluster.js:197:32)\r\n        at ChildProcess.EventEmitter.emit (events.js:117:20)\r\nWorks as intended @ 1.0.2"},"comment":{"url":"https://api.github.com/repos/Unitech/pm2/issues/comments/209106336","html_url":"https://github.com/Unitech/pm2/issues/2071#issuecomment-209106336","issue_url":"https://api.github.com/repos/Unitech/pm2/issues/2071","id":209106336,"user":{"login":"petemill","id":741836,"avatar_url":"https://avatars.githubusercontent.com/u/741836?v=3","gravatar_id":"","url":"https://api.github.com/users/petemill","html_url":"https://github.com/petemill","followers_url":"https://api.github.com/users/petemill/followers","following_url":"https://api.github.com/users/petemill/following{/other_user}","gists_url":"https://api.github.com/users/petemill/gists{/gist_id}","starred_url":"https://api.github.com/users/petemill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petemill/subscriptions","organizations_url":"https://api.github.com/users/petemill/orgs","repos_url":"https://api.github.com/users/petemill/repos","events_url":"https://api.github.com/users/petemill/events{/privacy}","received_events_url":"https://api.github.com/users/petemill/received_events","type":"User","site_admin":false},"created_at":"2016-04-12T21:17:11Z","updated_at":"2016-04-12T21:17:11Z","body":"Why release a new version of pm2 that breaks a core feature without warning? Perhaps in the `pm2-dev` script you should just console.log: `This command is deprecated.` since it just errors anyway."}}