I can’t update pm2 via the command line. It references the logfile and here is what I find:
[npm-cache] [INFO] using /home/asterisk/.package_cache as cache directory
[npm-cache] [INFO] [composer] Dependency config file /var/www/html/admin/modules/pm2/node/composer.json does not exist. Skipping install
[npm-cache] [INFO] [npm] config file exists
[npm-cache] [INFO] [npm] cli exists
[npm-cache] [INFO] [npm] hash of /var/www/html/admin/modules/pm2/node/package.json: d533e5835beb0c379c4c571fb8ceaecc
[npm-cache] [INFO] [npm] running [npm install]…
npm ERR! Linux 2.6.32-642.6.2.el6.x86_64
npm ERR! argv “/usr/bin/node” “/usr/bin/npm” “install”
npm ERR! node v0.12.18
npm ERR! npm v2.15.11
npm ERR! version not found: [email protected]
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR! /var/www/html/admin/modules/pm2/node/npm-debug.log
[npm-cache] [ERROR] [npm] error running npm install
[npm-cache] [ERROR] error installing dependencies