Error with 'npm start'

andres

I'm using Node v4.2.6 and npm v3.5.2 on Ubuntu, I clone my proyect from github and install all the modules. When I do npm start its run fine, but when I try to run it again start crashing and the only way I find to make it work again is to re-clone the project. It's a rare and dummy question i think, can someone help me? Pardon my bad english, here is the npm-debug.log error:

17 error Linux 4.4.0-92-generic

18 error argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "lite"

19 error node v4.2.6

20 error npm v3.5.2

21 error code ELIFECYCLE

22 error [email protected] lite: lite-server

22 error Exit status 1

23 error Failed at the [email protected] lite script 'lite-server'.

23 error Make sure you have the latest version of node.js and npm installed.

23 error If you do, this is most likely a problem with the firstApp-client package,

23 error not with npm itself.

23 error Tell the author that this fails on your system:

23 error lite-server

23 error You can get information on how to open an issue for this project with:

23 error npm bugs firstApp-client

23 error Or if that isn't available, you can get their info via:

23 error npm owner ls firstApp-client

23 error There is likely additional logging output above.

24 verbose exit [ 1, true ]

andres

I don't know why but it seems to be that the problem was an incompatibility of the versions of nodejs. I run:

$ sudo npm cache clean -f

$ sudo npm install -g n

$ sudo n stable

$ sudo ln -sf /usr/local/n/versions/node/<VERSION>/bin/node /usr/bin/nodejs

And all was resolve. Thanks for the comments

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

npm start giving error

From Dev

angularjs npm start shows error

From Dev

npm start error angularjs(frontend)

From Dev

npm start failing: Error: start: `react-scripts start`

From Java

npm start error with create-react-app

From Java

Start script missing error when running npm start

From Dev

Node.js express NPM start error, Exit Status 8

From Dev

Aurelia Typescript skeleton -navigation error with npm start command

From Dev

Getting this error when I am doing npm start

From Dev

"npm start" gives error in ghost (node.js)

From Dev

Node JS error when I run 'npm start', maybe KrakenJS?

From Dev

Error on npm start using Angular 2 RC version

From Dev

When I run npm run start I get this error

From Dev

Can't start npm on Windows 8 (Error: ENOENT, stat 'C:\Users\User\AppData\Roaming\npm')

From Java

Difference between npm start and npm run start

From Dev

How to "npm start" with supervisord?

From Java

NPM Init and Start

From Dev

npm start - using CORS

From Dev

Gulp BrowserSync and npm start

From Dev

dockerfile npm start with harmony

From Dev

Reactjs: npm start fails

From Dev

Download Module on NPM start

From Dev

Work Around or Fix for NPM lite-server on Linux error when running Angular 2 Quick Start

From Dev

ERROR watchman--no-pretty get-sockname when run npm start

From Dev

npm start returns error 127 while setting up angular-seed application

From Dev

Issue with `npm start`: ERROR watch EMFILE although open files limit = 65536

From Dev

Cannot find name 'Promise' error when i use 'npm start' command

From Dev

Why React npm start return error for webpack-dev-server 3.11.1?

From Dev

Cannot find name 'Promise' error when i use 'npm start' command

Related Related

HotTag

Archive