Sto tentando di impostare angular-seed application.npm start restituisce l'errore 127 durante l'impostazione dell'applicazione angular-seed
Ho installato nodejs con sudo apt-get install nodejs
NPM Installato con sudo apt-get install npm
pergolato Installato con sudo apt-get install bower -g
installate nodejs-legacy con sudo apt-get install nodejs-legacy
aperto la mia applicazione angolare-seme, corse npm install
. Questo funzionò perfettamente senza errori.
Per avviare il server, sto cercando di utilizzare npm start
, ma restituisce le seguenti informazioni ed errori.
> [email protected] prestart /home/venki/Downloads/angular-seed
> npm install
> [email protected] postinstall /home/venki/Downloads/angular-seed
> bower install
> [email protected] start /home/venki/Downloads/angular-seed
> http-server -a localhost -p 8000 -c-1
sh: 1: http-server: not found
npm ERR! weird error 127
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR! not ok code 0
Sto usando Ubuntu 14.04 LTS. Per favore fatemi sapere se sono necessarie ulteriori informazioni.