“Membunuh NPM Err! Kode ELIFECYCLE NPM ERR! errno 137 npm err! [email protected] build: `nuxt build`” Kode Jawaban

NPM Err! Kode 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)
ChernobylBob

Siklus elifes

rm -rf node_modules && rm ./package-lock.json && npm install
Combative Crocodile

Membunuh NPM Err! Kode ELIFECYCLE NPM ERR! errno 137 npm err! [email protected] build: `nuxt build`

First, you will have to remove the npm cache and upgrade to the latest version of the node and npm will resolve the issue.

sudo npm cache clean -f
sudo npm install -g n install n 
sudo n stable 

The first command will force clean the npm package manager's cache, After the second and third commands, a stable version of the node and npm will be installed. then you can execute **npm i** and **npm run build** for creating an optimized production build.

This solution worked for the same error on the **npm run build** command in nextjs.
Breakable Booby

Jawaban yang mirip dengan “Membunuh NPM Err! Kode ELIFECYCLE NPM ERR! errno 137 npm err! [email protected] build: `nuxt build`”

Pertanyaan yang mirip dengan “Membunuh NPM Err! Kode ELIFECYCLE NPM ERR! errno 137 npm err! [email protected] build: `nuxt build`”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya