Skip to content

Instantly share code, notes, and snippets.


bellaj/pm2 problem

Last active Aug 18, 2016
What would you like to do?
ethstats installation
badr@badr-HP-620:~/bin$ pm2 start processes.json
[PM2][WARN] Applications geth, node-app not running, starting...
Common.printOut(cst.PREFIX_MSG + 'App [%s] launched (%d instances)', data[0], data.length);
TypeError: Cannot read property 'pm2_env' of undefined
at /usr/local/lib/node_modules/pm2/lib/CLI.js:461:85
at /usr/local/lib/node_modules/pm2/node_modules/pm2-axon-rpc/lib/client.js:45:10
at Parser.<anonymous> (/usr/local/lib/node_modules/pm2/node_modules/pm2-axon/lib/sockets/req.js:67:8)
at emitOne (events.js:77:13)
at Parser.emit (events.js:169:7)
at Parser._write (/usr/local/lib/node_modules/pm2/node_modules/amp/lib/stream.js:91:16)
at doWrite (_stream_writable.js:292:12)
at writeOrBuffer (_stream_writable.js:278:5)
at Parser.Writable.write (_stream_writable.js:207:11)
at Socket.ondata (_stream_readable.js:528:20)
pm2 needs the admin to write to log folder
so chmode 777 the log folder to resolve this problem
atom prob :
when you try to insall truffle you could get an error lik canot open c:/openssl** files you need then to install openssl for windows first
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.