User791773689 posted
Hello everybody,
I have left my Angular project for a while (the Angular Tour, done with the tutorial), and have got to refresh my ideas about it.
I went to the directory of the application, and typed
ng serve --open
and got this answer :
Global Angular CLI version greater than local version
then I ran this
npm install --save-dev @angular/cli@latest
then was invited to try another version to solve vulnerabilities,
and ng serve --open again, and I was insulted in answer :
Could not find the implementation for builder @angular-devkit/build-angular:dev-server
Error: Could not find the implementation for builder @angular-devkit/build-angular:dev-server
at WorkspaceNodeModulesArchitectHost.resolveBuilder (D:\Projets Visual Studio\Web\TestAngular006\TestAngular006\angular-tour-of-heroes\node_modules\@angular\cli\node_modules\@angular-devkit\architect\node\node-modules-architect-host.js:49:19)
at ServeCommand.initialize (D:\Projets Visual Studio\Web\TestAngular006\TestAngular006\angular-tour-of-heroes\node_modules\@angular\cli\models\architect-command.js:72:63)
at process._tickCallback (internal/process/next_tick.js:68:7)
at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
Oh, so I type ng --version, and get this :
Angular CLI: 8.0.2
Node: 10.15.0
OS: win32 x64
Angular: 7.2.4
... animations, common, compiler, core, forms, language-service
... platform-browser, platform-browser-dynamic, router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.12.4
@angular-devkit/build-angular 0.12.4
@angular-devkit/build-optimizer 0.12.4
@angular-devkit/build-webpack 0.12.4
@angular-devkit/core 7.2.4
@angular-devkit/schematics 8.0.2Is
@angular/cli 8.0.2
@angular/compiler-cli 8.0.0
@ngtools/webpack 7.2.4
@schematics/angular 8.0.2
@schematics/update 0.800.2
rxjs 6.3.3
typescript 3.2.4
webpack 4.28.4
Is anyone able to guide me to make this project work ?