2016-08-30 1 views
0

많은 것을 시도했지만 여전히 작동하지 않습니다.우분투 npm 치명적인 오류, 어떤 생각?

 
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" 
npm ERR! node v6.4.0 
npm ERR! npm v3.10.6 
npm ERR! file sh 
npm ERR! code ELIFECYCLE 
npm ERR! errno ENOENT 
npm ERR! syscall spawn 
npm ERR! [email protected] start: `tsc && concurrently "tsc -w" "lite-server" ` 
npm ERR! spawn ENOENT 
npm ERR! 
npm ERR! Failed at the [email protected] start script 'tsc && concurrently "tsc -w" "lite-server" '. 
npm ERR! Make sure you have the latest version of node.js and npm installed. 
npm ERR! If you do, this is most likely a problem with the angular2-quickstart package, 
npm ERR! not with npm itself. 
npm ERR! Tell the author that this fails on your system: 
npm ERR!  tsc && concurrently "tsc -w" "lite-server" 
npm ERR! You can get information on how to open an issue for this project with: 
npm ERR!  npm bugs angular2-quickstart 
npm ERR! Or if that isn't available, you can get their info via: 
npm ERR!  npm owner ls angular2-quickstart 
npm ERR! There is likely additional logging output above. 
npm WARN Local package.json exists, but node_modules missing, did you mean to install? 

npm ERR! Please include the following file with any support request: 
npm ERR!  /home/gg/Scrivania/my-proj/newangular/npm-debug.log 
+0

다음과 같이 확인하려면, NPM의 출력이 조심스럽게 설치 확인, node_modules을 삭제하고 다시 설치? 그렇다면 타이프 스크립트 (tagcript)에 태그를 붙일 수도 있습니다. 사실 나는 angular2에 대해서만 보았습니다. –

+1

'npm install'을 실행 했습니까? –

+0

예,하지만 때마다 thats 오류 줄, 나는 uinstall 설치하고 있지만 아무것도. –

답변

0

아마도 당신이 일부 누락 된 한 피어 종속성 : 나는 npm start 명령을 실행하려고하면, 그것은 나에게 오류를 제공합니다. npm 버전 3 이상을 사용하는 경우 필요한 피어 종속성을 수동으로 설치해야합니다.

npm을 실행하면 경고 메시지가 표시되어을 설치하십시오. TSC를 실행 할 때 발생

cd /home/gg/Scrivania/my-proj/newangular 
rm -rf node_modules 
npm install