작동하는 노트북에 각도 2 응용 프로그램이 있습니다. 그러나 팀원 복제본에 git이 있으면 npm start에 이상한 오류가 발생합니다. 그는 node.js를 설치 했으므로 파일은 동일합니다. 이론적으로각도 2 npm 시작이 작동하지 않습니다. 종료 상태 1
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\
node_modules\\npm\\bin\\npm-cli.js" "start"
npm ERR! node v7.2.0
npm ERR! npm v3.10.9
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: `tsc && concurrently "tsc -w" "lite-ser
ver" `
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'tsc && concurrentl
y "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 angular-quickstart pa
ckage,
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 angular-quickstart
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls angular-quickstart
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\Timo\Desktop\OOSE Project\Projects\Button_for_Json\npm-deb
ug.log
C:\Users\USERNAME\Desktop\OOSE Project\Projects\Button_for_Json>npm
에
에서 package.json에 시작 필드를 변경해야합니다 당신이 두 시스템에 노드/고궁 박물원의 동일한 버전이 있습니까? 'npm start'를 호출하기 전에 두 번째 기계에서'npm install'을 호출 했습니까? – osechet
두 번째 시스템에는 최신 버전이 있습니다. – Nick