2017-10-11 1 views
0

나는 4각 2 ~ 4에서 업데이트하지만 실패는

에 각 2에서 내 프로젝트를 업데이트 한 나는 달렸다 :

npm install @angular/[email protected] @angular/[email protected] 
@angular/[email protected] @angular/[email protected] @angular/[email protected] 
@angular/[email protected] @angular/[email protected] @angular/platform- 
[email protected] @angular/[email protected] 
@angular/[email protected] @angular/[email protected] [email protected] --save 

을 한 후 나는 다음과 같은 문제가 있습니다

ERROR in [at-loader] ./node_modules/angular2-platform-node/node-platform.d.ts:1:10 
TS2305: Module ‘”C:/angular/node_modules//platform-browser”‘ has no exported member ‘AnimationDriver’. 

누군가 내가 할 일을 말해 줄 수 있습니까?

+0

를 설치 -u. 노드 -v 및 npm -v – Hareesh

+0

을 실행하여 적어도 노드 6.9.x 및 npm 3.xx를 실행 중인지 확인하십시오. Hareesh, npm -v를 실행하여 검사했습니다. 3.10.10 – user1938143

답변

0

node_module 폴더를 삭제하고 다음 명령을 따르십시오. 각도 2를 각도 4+로 자동 업그레이드합니다.

NPM 난 -g NPM-체크 업데이트

NPM-체크 업데이트

이 NPM 노드 버전입니다

+0

시도했지만 시도했습니다. 같은 문제가 온다. – user1938143