我正在尝试设置
angular-seed application.
@H_403_18@我已经用sudo apt-get install nodejs安装了nodejs
使用sudo apt-get install npm安装npm
安装凉亭与sudo apt-get安装凉亭-g
使用sudo apt-get install nodejs-legacy安装了nodejs-legacy
打开我的angular-seed应用程序,运行npm install.这完美运行没有任何错误.
要启动服务器,我正在尝试使用npm start,但它返回以下信息和错误.
- > angular-seed@0.0.0 prestart /home/venki/Downloads/angular-seed
- > npm install
- > angular-seed@0.0.0 postinstall /home/venki/Downloads/angular-seed
- > bower install
- > angular-seed@0.0.0 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
我正在使用Ubuntu 14.04 LTS.如果有任何进一步的信息,请告诉我.