2017-01-28 15 views
3

angular-cliが完全に動作するために使用されましたが、今は新しいプロジェクトを作成するときにサーバーを実行しない理由がわかりません。angr-cli ng serve errors

angular-cliを再インストールしようとしました。

ng new appで新しいアプリを作成します。 私はng serveを実行し、/アプリ/のパスに移動し、私が手:

No errors 
Error: No errors 
    at validate (C:\Users\Gasti\Documents\Prgm\githubsearch\node_modules\extract-text-webpack-plugin\schema\validator.js:10:9) 
    at Function.ExtractTextPlugin.extract (C:\Users\Gasti\Documents\Prgm\githubsearch\node_modules\extract-text-webpack-plugin\index.js:188:3) 
    at C:\Users\Gasti\Documents\Prgm\githubsearch\node_modules\angular-cli\models\webpack-build-styles.js:79:83 
    at Array.map (native) 
    at Object.getWebpackStylesConfig (C:\Users\Gasti\Documents\Prgm\githubsearch\node_modules\angular-cli\models\webpack-build-styles.js:76:43) 
    at new NgCliWebpackConfig (C:\Users\Gasti\Documents\Prgm\githubsearch\node_modules\angular-cli\models\webpack-config.js:44:51) 
    at Class.run (C:\Users\Gasti\Documents\Prgm\githubsearch\node_modules\angular-cli\tasks\serve-webpack.js:23:22) 
    at C:\Users\Gasti\Documents\Prgm\githubsearch\node_modules\angular-cli\commands\serve.run.js:37:22 
    at process._tickCallback (internal/process/next_tick.js:103:7) 

答えて

9

an Angular CLI developerから:

この問題は、外部依存関係の最近の更新から生じ、それがCLIなしで修正可能ではありません今すぐリリース。

npm install [email protected] --save-dev 

彼はまた、回避策はバージョン2.0.0-rc.0で依存関係をインストールすることであることを確認しました

関連する問題