JavaScript for WordPress Forums Bugs & Issues npm ERR! code ELIFECYCLE on Terminal Reply To: npm ERR! code ELIFECYCLE on Terminal

#128120
dareadel
Participant

Here is the solution I got from this post on Stackoveflow.com. Spent two days looking for a solution and it paid off. Apparently all I needed was an upgrade:

1. sudo npm cache clean -f (force) clear you npm cache
2. sudo npm install -g n install n (this might take a while)
3. sudo n stable upgrade to the current stable version