How to solve npm error “npm ERR! code ELIFECYCLE”

Step 1: $ npm cache clean –force Step 2: Delete node_modules by $ rm -rf node_modules (rmdir /S /Q node_modules in windows) folder or delete it manually by going into the directory and right-click > delete / move to trash. If are not updating your packages you can delete the package-lock.json file too. Step 3: npm install To start again, $ npm start This worked for me. … Read more

How to solve npm error “npm ERR! code ELIFECYCLE”

Step 1: $ npm cache clean –force Step 2: Delete node_modules by $ rm -rf node_modules (rmdir /S /Q node_modules in windows) folder or delete it manually by going into the directory and right-click > delete / move to trash. If are not updating your packages you can delete the package-lock.json file too. Step 3: npm install To start again, $ npm start This worked for me. … Read more