2016-11-09 2 views
0

각도 -cli 1.0.0-beta.18을 사용하여 생성 된 각도 2 프로젝트가 있습니다. 그것은 잘 작동하고 있습니다.Angular-CLI가 베타 10의 업그레이드 필요성을 잘못 감지했습니다.

오늘 전 세계적으로 내 프로젝트에서 angluar-cli 1.0.0-beta-19-3으로 업그레이드했습니다. 내가 실행하려고하면

지금 NG 내가 베타 (10) 웹팩에 SystemJS에서 마이그레이션 참조 된 웹 페이지에 대한 우려에서 업그레이드하고 있지 않다, 그것은

> ng serve 

It seems like you're using a project generated using an old version of the Angular CLI. 
The latest CLI now uses webpack and includes a lot of improvements, include a simpler 
workflow, a faster build and smaller bundles. 

To get more info, including a step-by-step guide to upgrade the CLI, follow this link: 
https://github.com/angular/angular-cli/wiki/Upgrading-from-Beta.10-to-Beta.14 

그러나이 조언을 제공 명령,하지만 난 웹팩에 이미입니다 (1.0.0-beta.18은 웹팩 기반 프로젝트를 생성했기 때문에)

프로젝트를 다시 실행하려면 어떻게해야합니까?

답변

0

node_modules을 완전히 지우고 npm install을 수행하여 작동 시켰습니다.

The instructions actually says thatnode_modules을 지울 필요가 있습니다. 나는 그렇게 할 필요가 없었지만 분명히 맞습니다.

관련 문제