,창문에 각도 AOT 컴파일러 (NGC)를 설치할 수 없습니다 (7) 내가 NGC를 설치할 수 없습니다
나는 빠른 시작 GitHub의 프로젝트에서 시작하고
npm install
...
| | +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
`-- [email protected]
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]^1.0.0 (node_modules\browser-sync\node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
그럼 내가 할
npm install @angular/compiler-cli @angular/platform-server --save
+-- @angular/[email protected]
| `-- @angular/[email protected]
| `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
| `-- [email protected]
`-- @angular/[email protected]
`-- [email protected]
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]^1.0.0 (node_modules\browser-sync\node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
하지만 ngc를 실행할 수 없습니다.
D:\WORK\ANGULAR\tutorial\quickstart-master>ngc
'ngc' is not recognized as an internal or external command,
operable program or batch file.
node_modules에 .bin 폴더가 없습니다
당신이' "node_modules/.BIN/NGC"-p tsconfig-aot.json' 뭔가를 시도 해 봤나 다시 설치? 그렇지 않으면 ngc를 환경 변수 – yurzui
에 추가해야합니다. 아무런 .bin 폴더도 없습니다. – phil1234
죄송합니다, 나는 그것을 생략했습니다 – yurzui