title: ng build and ng serve not working due to "Could not find the implementation for builder"
body: <p>I am trying to run a project from github on my Mac. </p>
  
  <p>When I run ng serve or ng build after <code>npm install</code> in the terminal in the correct folder I get the following error </p>
  
  <p><code>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 (/Users/x/x/x/Angular/node_modules/@angular/cli/node_modules/@angular-devkit/architect/node/node-modules-architect-host.js:49:19)
      at ServeCommand.initialize (/Users/sydney/Downloads/HealthLock-Webapp-master/Angular/node_modules/@angular/cli/models/architect-command.js:135:55)
      at async ServeCommand.validateAndRun (/Users/sydney/Downloads/HealthLock-Webapp-master/Angular/node_modules/@angular/cli/models/command.js:127:9)
      at async Object.runCommand (/Users/x/x/x/Angular/node_modules/@angular/cli/models/command-runner.js:178:24)
      at async default_1 (/Users/x/x/x/Angular/node_modules/@angular/cli/lib/cli/index.js:32:31)</code></p>
  
  <p>I have followed all the information I could find based on other times this question has been asked here and on other websites. I have uninstalled and reinstalled. I have cleared the cache. I have tried <code>npm install --save-dev @angular-devkit/build-angular</code>, <code>npm update</code>, <code>npm i --only=dev</code>, <code>ng update</code>. I have tried all the solutions I could find but none have worked.  </p>
  
  <p>Here is my versions:</p>
  
  <pre><code> Angular CLI: 8.0.0
  
   Node: 12.3.1
  
   OS: darwin x64
  
   Angular: 8.0.0
  
   @angular-devkit/architect: 0.13.9
  
   @angular-devkit/build-angular: 0.13.9
  
   @angular-devkit/build-optimizer: 0.13.9
  
   @angular-devkit/build-webpack: 0.13.9
  
   @angular-devkit/core: 7.3.9
  
   @angular-devkit/schematics: 8.0.0
  
   @angular/cdk: 7.3.7
  
   @angular/http: 8.0.0-beta.10
  
   @ngtools/webpack: 7.3.9
  
   @schematics/angular: 8.0.0
  
   @schematics/update: 0.800.0
  
   rxjs: 6.5.2
  
   typescript: 3.4.5
  
   webpack:4.29.0
  </code></pre>
  
  <p>Here is my json file </p>
  
  <pre><code> {
     "name": "x",
     "version": "0.0.0",
     "scripts": {
       "ng": "ng",
       "start": "ng serve",
       "build": "ng build",
       "test": "ng test",
       "lint": "ng lint",
       "e2e": "ng e2e"
     },
     "private": true,
     "dependencies": {
       "@angular/animations": "^8.0.0",
       "@angular/cdk": "^7.3.7",
       "@angular/common": "^8.0.0",
       "@angular/compiler": "^8.0.0",
       "@angular/core": "^8.0.0",
       "@angular/forms": "^8.0.0",
       "@angular/http": "^8.0.0-beta.10",
       "@angular/platform-browser": "^8.0.0",
       "@angular/platform-browser-dynamic": "^8.0.0",
       "@angular/router": "^8.0.0",
       "@types/moment": "^2.13.0",
       "angular2-signaturepad": "^2.8.0",
       "core-js": "^2.6.9",
       "hammerjs": "^2.0.8",
       "html2canvas": "^1.0.0-rc.2",
       "jspdf": "^1.5.3",
       "lodash": "^4.17.11",
       "moment": "^2.24.0",
       "ng-circle-progress": "^1.4.1",
       "ng-select": "^1.0.1",
       "ngx-bootstrap": "^3.3.0",
       "ngx-device-detector": "^1.3.5",
       "ngx-mask": "^6.5.18",
       "ngx-owl-carousel-o": "^0.1.2",
       "rxjs": "6.5.2",
       "rxjs-compat": "6.3.3",
       "zone.js": "^0.9.1"
          },
          "devDependencies": {
            "@angular-devkit/build-angular": "^0.13.9",
            "@angular/cli": "^8.0.0",
            "@angular/compiler-cli": "^8.0.0",
            "@angular/language-service": "^8.0.0",
            "@types/jasmine": "^2.8.16",
            "@types/jasminewd2": "^2.0.6",
           "@types/lodash": "^4.14.132",
            "@types/node": "~8.9.4",
            "codelyzer": "~4.2.1",
       "jasmine-core": "~2.99.1",
       "jasmine-spec-reporter": "~4.2.1",
       "karma": "^4.1.0",
       "karma-chrome-launcher": "~2.2.0",
       "karma-coverage-istanbul-reporter": "^2.0.5",
       "karma-jasmine": "~1.1.1",
       "karma-jasmine-html-reporter": "^0.2.2",
       "protractor": "^5.4.2",
       "ts-node": "~5.0.1",
       "tslint": "~5.9.1",
       "typescript": "^3.4.5"
     }
   }
  </code></pre>
  
  <p>Angular.json file</p>
  
  <pre><code> {
      "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
      "version": 1,
     "newProjectRoot": "projects",
      "projects": {
       "healthlock": {
       "root": "",
    "sourceRoot": "src",
    "projectType": "application",
    "prefix": "app",
    "schematics": {
      "@schematics/angular:component": {
        "styleext": "scss"
      }
    },
    "architect": {
      "build": {
        "builder": "@angular-devkit/build-angular:browser",
        "options": {
          "outputPath": "dist/healthlock",
          "index": "src/index.html",
          "main": "src/main.ts",
          "polyfills": "src/polyfills.ts",
          "tsConfig": "src/tsconfig.app.json",
          "assets": [
            "src/favicon.ico",
            "src/assets"
          ],
          "styles": [
            "node_modules/ngx-owl-carousel-o/lib/styles/prebuilt-themes/owl.carousel.min.css",
            "node_modules/ngx-owl-carousel-o/lib/styles/prebuilt-themes/owl.theme.default.min.css",
            "src/styles.scss"
          ],
          "scripts": ["src/env.js"]
        },
        "configurations": {
          "production": {
            "fileReplacements": [
              {
                "replace": "src/environments/environment.ts",
                "with": "src/environments/environment.prod.ts"
              }
            ],
            "optimization": true,
            "outputHashing": "all",
            "sourceMap": false,
            "extractCss": true,
            "namedChunks": false,
            "aot": true,
            "extractLicenses": true,
            "vendorChunk": false,
            "buildOptimizer": true
          }
        }
      },
      "serve": {
        "builder": "@angular-devkit/build-angular:dev-server",
        "options": {
          "browserTarget": "healthlock:build"
        },
        "configurations": {
          "production": {
            "browserTarget": "healthlock:build:production"
          }
        }
      },
      "extract-i18n": {
        "builder": "@angular-devkit/build-angular:extract-i18n",
        "options": {
          "browserTarget": "healthlock:build"
        }
      },
      "test": {
        "builder": "@angular-devkit/build-angular:karma",
        "options": {
          "main": "src/test.ts",
          "polyfills": "src/polyfills.ts",
          "tsConfig": "src/tsconfig.spec.json",
          "karmaConfig": "src/karma.conf.js",
          "styles": [
            "src/styles.scss"
          ],
          "scripts": [],
          "assets": [
            "src/favicon.ico",
            "src/assets"
          ]
        }
      },
      "lint": {
        "builder": "@angular-devkit/build-angular:tslint",
        "options": {
          "tsConfig": [
            "src/tsconfig.app.json",
            "src/tsconfig.spec.json"
          ],
          "exclude": [
            "**/node_modules/**"
          ]
        }
      }
    }
  },
  "healthlock-e2e": {
    "root": "e2e/",
    "projectType": "application",
    "architect": {
      "e2e": {
        "builder": "@angular-devkit/build-angular:protractor",
        "options": {
          "protractorConfig": "e2e/protractor.conf.js",
          "devServerTarget": "healthlock:serve"
        },
        "configurations": {
          "production": {
            "devServerTarget": "healthlock:serve:production"
          }
        }
      },
      "lint": {
        "builder": "@angular-devkit/build-angular:tslint",
        "options": {
          "tsConfig": "e2e/tsconfig.e2e.json",
          "exclude": [
            "**/node_modules/**"
          ]
        }
      }
    }
  }
      },
     "defaultProject": "healthlock"
  </code></pre>