2017-01-28 3 views
3

angular-cli verwendet, um perfekt zu arbeiten, aber jetzt weiß ich nicht, warum beim Erstellen eines neuen Projekts es nicht den Server laufen.angular-cliting serve fehler

Ich versuchte eckig-cli neu installieren.

Ich erstelle eine neue App mit ng new app. ich navigieren in den/app/Weg, lief ng serve und ich:

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) 

Antwort

9

Von an Angular CLI developer:

Dieses Problem ergibt sich aus einer aktuellen Update in einer externen Abhängigkeit und es ist nicht fixierbar ohne CLI Freigabe jetzt.

Er bestätigte auch, dass die Abhilfe ist, die Abhängigkeit in der Version 2.0.0-rc.0 zu installieren:

npm install [email protected] --save-dev