Could not find the implementation for builder @angular-devkit/build-angular:dev-server on ng serve command
I got this working by reinstalling the build-angular package. Note the '--save-dev' flag on the install command:
npm uninstall @angular-devkit/build-angularnpm install --save-dev @angular-devkit/build-angular
Resolved my issue by using the below command:
ng update @angular/cli @angular/core --allow-dirty --force
ng update
should have updated the version for your @angular-devkit/build-angular
I ran into this as well and what I did was created a new Angular app and ensured that ng serve
was working fine for that newly created Angular app. I then copied and used the following from the working Angular app's package.json
, which is:
`"@angular-devkit/build-angular": "~0.802.2",`
Ensure you run npm install
(The version would most probably change with each Angular update - so check what version you need to use by following the steps I have outlined - if ng update doesn't already update it for you)