728x90
반응형
문제)
ERROR in node_modules/@types/node/index.d.ts(20,1): error TS1084: Invalid 'reference' directive syntax.
해결 방법)
[bonita_sy@angular]$ npm install \@types/node@7.0.7
npm WARN @angular/compiler-cli@5.2.11 requires a peer of typescript@>=2.4.2 <2.7 but none is installed. You must install peer dependencies yourself.
npm WARN tsickle@0.27.5 requires a peer of typescript@>=2.4.2 <2.8 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/watchpack/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
+ @types/node@7.0.7
added 1 package and updated 1 package in 156.285s
빌드 정상 수행~
728x90
반응형
'Programming > JavaScript & TypeScript' 카테고리의 다른 글
Node.js 바이너리 openssl 버전 확인하기 (0) | 2020.11.11 |
---|---|
[Font Awesome] spinner 아이콘 회전 시키기 (0) | 2020.11.03 |
WebSocket과 Socket.IO (0) | 2020.10.26 |
[Regex] regex 패턴을 변수에 담아 사용하는 방법 (0) | 2020.10.22 |
[JavaScript] console.log 할 때 \r, \n, \t (Escape Sequence) 출력 방법 (1) | 2020.10.22 |