Horje
elifecycle npm install error Code Example
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)
elifecycle npm install error
npm cache clean --force
//delete node_modules folder
//delete package-lock.json file
npm install




Shell

Related
how to install ansible in centos Code Example how to install ansible in centos Code Example
intall docker ubuntu command Code Example intall docker ubuntu command Code Example
error while loading shared libraries: libx11-xcb.so.1: Code Example error while loading shared libraries: libx11-xcb.so.1: Code Example
install docker ubuntu Code Example install docker ubuntu Code Example
INSTALL_FAILED_USER_RESTRICTED: Install canceled by user Code Example INSTALL_FAILED_USER_RESTRICTED: Install canceled by user Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10