Closed mooleshacat closed 6 years ago
/lib/node_modules/ exists, however the only subdir is npm because I updated npm to latest, so all the node modules are in /lib/node_modules/npm/node_modules/ but there is no PM2 subdir there...
I just posted the issue on PM2 list as well... Someone will help me figure it out: https://github.com/Unitech/pm2/issues/3961
**To help us debug your issue please explain:
brew
commands)**1) Installed brew to try it 2) Didn't like it 3) Uninstalled brew 4) Installed NVM & NodeJS v8.1.4 5) Updated NPM & node-gyp to @latest 6) Installed PM2 7) Now cannot use NodeJS installed with nvm/npm/pm2 with errors showing ".linuxbrew" 8) echo $PATH still shows linux brew remains even after uninstall, disconnect, reconnect 9) Nothing exists in ~/.bashrc related to linux brew
When I run "node init.js" everything runs perfectly fine (minus the fact I am half done setting up the pool software):
But when I run "pm2 start init.js --watch --name pool" I get this error from PM2:
Now this error is thrown by PM2, however I am not posting in PM2 issue repo because this error involves remains of a linux brew installation.
If someone can help please, I have tried also: rm -rf ~/.npm rm -rf ~/.nvm rm -rf ~/.pm2 rm -rf node_modules rebuilding all NPM packages incl. PM2
I know there is a node_modules folder somewhere in the root system, I will try and find it and delete PM2 from it
Thanks :)