Last active
August 27, 2016 12:59
-
-
Save gurkan0791/721b43ae8a2572ff93649f0292be0e59 to your computer and use it in GitHub Desktop.
Setup angular-cli webpack on windows 10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# node v6.4.0 npm v3.10.6 | |
npm uninstall -g angular-cli | |
npm cache clean | |
npm install -g angular-cli@webpack | |
ng -v | |
angular-cli: 1.0.0-beta.11-webpack.2 | |
node: 6.4.0 | |
os: win32 x64 | |
ng new my-project | |
cd my-project | |
ng serve # Module not found: Error: Can't resolve | |
# local my-project | |
npm install angular-cli @angular/tsc-wrapped --save-dev | |
ng init | |
ng new my-project | |
ng serve # localhost:4200 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment