GeorgeAdamson
GeorgeAdamson

Reputation: 51

How do i solve npm error “npm ERR! code ELIFECYCLE”

When I try to run npm run serve for my vue live server I get this error, why is this?

error code ELIFECYCLE
error errno 1
error [email protected] serve: `vue-cli-service serve`
error Exit status 1
error Failed at the [email protected] serve script.
error This is probably not a problem with npm. There is likely additional logging output above.
verbose exit [ 1, true ]

Upvotes: 0

Views: 3430

Answers (1)

rassakra
rassakra

Reputation: 1121

try this steps :

  1. deleting "node_modules" directory in project
sudo rm -rf node_modules
  1. npm install to install dependencies
npm install 

after that run your command .

I think that will resolve your issue .

Upvotes: 1

Related Questions