Answers for "Npm ERR code ELIFECYCLE"

2

npm ERR! code ELIFECYCLE npm ERR! errno 2

Step 1: $ npm cache clean --force

Step 2: Delete node_modules by $ rm -rf node_modules package-lock.json folder or delete it manually by going into the directory and right-click > delete / move to trash. Also, delete package-lock.json file too.

Step 3: npm install

To start again, $ npm start

This worked for me. Hopes it works for you too.

PS: If it is still there, kindly check the error it is displaying in red and act accordingly. This error is specific to node.js environment.


A special thanks to - Prakhar Mittal (https://stackoverflow.com/users/9478145/prakhar-mittal)
Posted by: Guest on October-11-2020
2

npm ERR! code ELIFECYCLE npm error

npm cache clean --force
Posted by: Guest on May-01-2020
4

npm ERR! code ELIFECYCLE npm ERR! errno 1

rm -rf node_modules && rm ./package-lock.json && npm install
Posted by: Guest on June-19-2020
1

ELIFECYCLE

rm -rf node_modules && rm ./package-lock.json && npm install
Posted by: Guest on October-31-2020
0

npm ERR! code ELIFECYCLE npm error

rm -rf node_modules package-lock.json
Posted by: Guest on March-19-2021
0

elifecycle npm install error

npm cache clean --force
//delete node_modules folder
//delete package-lock.json file
npm install
Posted by: Guest on November-27-2020

Code answers related to "Npm ERR code ELIFECYCLE"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language