Angular-cli: `ng serve` failed on `Error: Could not find the implementation for builder @angular/bazel:build`

Created on 4 Apr 2019  路  3Comments  路  Source: angular/angular-cli

馃悶 bug report

Affected Package

@angular/[email protected]

Is this a regression?

No

Description

Could not find the implementation for builder @angular/bazel:build
Error: Could not find the implementation for builder @angular/bazel:build
    at WorkspaceNodeModulesArchitectHost.resolveBuilder (/Users/vladimirkozlov/work/Projects/AngularBazelTest/test-app/node_modules/@angular/cli/node_modules/@angular-devkit/architect/node/node-modules-architect-host.js:45:19)
    at ServeCommand.initialize (/Users/vladimirkozlov/work/Projects/AngularBazelTest/test-app/node_modules/@angular/cli/models/architect-command.js:135:55)
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at Function.Module.runMain (internal/modules/cjs/loader.js:757:11)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)

馃敩 Minimal Reproduction

"dependencies": {
    "@angular/animations": "8.0.0-beta.11",
    "@angular/bazel": "8.0.0-beta.11",
    "@angular/common": "8.0.0-beta.11",
    "@angular/compiler": "8.0.0-beta.11",
    "@angular/core": "8.0.0-beta.11",
    "@angular/forms": "8.0.0-beta.11",
    "@angular/platform-browser": "8.0.0-beta.11",
    "@angular/platform-browser-dynamic": "8.0.0-beta.11",
    "@angular/router": "8.0.0-beta.11",
    "core-js": "^2.5.4",
    "rxjs": "~6.4.0",
    "tslib": "^1.9.0",
    "zone.js": "~0.8.26"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "0.800.0-beta.11",
    "@angular/cli": "8.0.0-beta.11",
    "@angular/compiler-cli": "8.0.0-beta.11",
    "@angular/language-service": "8.0.0-beta.11",
    "@bazel/bazel": "0.24.0",
    "@bazel/ibazel": "0.10.0",
    "@bazel/karma": "^0.27.7",
    "@bazel/typescript": "0.27.8",
    "@types/node": "~8.9.4",
    "@types/jasmine": "~2.8.8",
    "@types/jasminewd2": "~2.0.3",
    "codelyzer": "~4.5.0",
    "jasmine-core": "~2.99.1",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~4.0.0",
    "karma-chrome-launcher": "~2.2.0",
    "karma-coverage-istanbul-reporter": "~2.0.1",
    "karma-jasmine": "~1.1.2",
    "karma-jasmine-html-reporter": "^0.2.2",
    "protractor": "~5.4.0",
    "ts-node": "~7.0.0",
    "tslint": "~5.11.0",
    "typescript": "3.3.3333"
  }

ng serve

regression

Most helpful comment

If change @angular/cli to 8.0.0-beta.10 - all work fine.

All 3 comments

If change @angular/cli to 8.0.0-beta.10 - all work fine.

Angular CLI v8 beta 11 switches default builder to the new architect in https://github.com/angular/angular-cli/pull/13994
Angular Bazel has not implemented this new builder architect, hence the error.
This will be fixed in the next @angular/bazel release v8 beta 12.

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

brtnshrdr picture brtnshrdr  路  3Comments

daBishMan picture daBishMan  路  3Comments

gotschmarcel picture gotschmarcel  路  3Comments

hareeshav picture hareeshav  路  3Comments

IngvarKofoed picture IngvarKofoed  路  3Comments