Oi pessoal, consegui fazer toda a aula 1, porém na aula 2 não consigo mais subir minha aplicação com o ng serve, pois dá o seguinte erro:
C:\projetos\angular\alurapicFundamentosAngularp1>ng serve --open
Could not find module "@angular-devkit/build-angular" from "C:\\projetos\\angular\\alurapicFundamentosAngularp1".
Error: Could not find module "@angular-devkit/build-angular" from "C:\\projetos\\angular\\alurapicFundamentosAngularp1".
at Object.resolve (C:\AppData\Roaming\nvm\v8.11.0\node_modules\@angular\cli\node_modules\@angular-devkit\core\node\resolve.js:141:11)
at Observable.rxjs_1.Observable [as _subscribe] (C:\AppData\Roaming\nvm\v8.11.0\node_modules\@angular\cli\node_modules\@angular-devkit\architect\src\architect.js:132:40)
at Observable._trySubscribe (C:\AppData\Roaming\nvm\v8.11.0\node_modules\@angular\cli\node_modules\rxjs\internal\Observable.js:43:25)
at Observable.subscribe (C:\AppData\Roaming\nvm\v8.11.0\node_modules\@angular\cli\node_modules\rxjs\internal\Observable.js:29:22)
at DoOperator.call (C:\AppData\Roaming\nvm\v8.11.0\node_modules\@angular\cli\node_modules\rxjs\internal\operators\tap.js:29:23)
at Observable.subscribe (C:\AppData\Roaming\nvm\v8.11.0\node_modules\@angular\cli\node_modules\rxjs\internal\Observable.js:24:22)
at C:\AppData\Roaming\nvm\v8.11.0\node_modules\@angular\cli\node_modules\rxjs\internal\util\subscribeTo.js:22:31
at Object.subscribeToResult (C:\AppData\Roaming\nvm\v8.11.0\node_modules\@angular\cli\node_modules\rxjs\internal\util\subscribeToResult.js:7:45)
at MergeMapSubscriber._innerSub (C:\AppData\Roaming\nvm\v8.11.0\node_modules\@angular\cli\node_modules\rxjs\internal\operators\mergeMap.js:75:38)
at MergeMapSubscriber._tryNext (C:\AppData\Roaming\nvm\v8.11.0\node_modules\@angular\cli\node_modules\rxjs\internal\operators\mergeMap.js:72:14)
Segue resposta do comando ng -v:
Angular CLI: 6.2.4
Node: 8.11.0
OS: win32 x64
Angular: 6.1.10
... animations, common, compiler, core, forms, http
... platform-browser, platform-browser-dynamic, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.8.4 (cli-only)
@angular-devkit/build-angular <error>
@angular-devkit/core 0.6.8
@angular-devkit/schematics 0.8.4 (cli-only)
@angular/cli <error>
@angular/compiler-cli <error>
@angular/language-service <error>
@ngtools/webpack 6.0.8
@schematics/angular 0.8.4 (cli-only)
@schematics/update 0.8.4 (cli-only)
rxjs 6.3.3
typescript 2.9.2 (cli-only)
Já tentei diversas soluções que encontrei na web, porém nenhuma delas funcionou.
Obrigado.