question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ng update to 9.0.0-rc.8 fails for projects with bazel

See original GitHub issue

🐞 bug report

Affected Package

This issue is related to the update schematics for @angular/bazel and @angular/core.

Is this a regression?

I believe this is only an issue when updating to v9

Description

Attempting to run ng update @angular/core --next --force in a project that has previously run ng add @angular/bazel causes a migration error. This happens even on projects with no changes beyond schematics.

🔬 Minimal Reproduction

ng new my-app cd my-app ng add @angular/bazel ng update @angular/core --force --next

🔥 Exception or Error


Could not find any tsconfig file. Cannot migrate dynamic queries.
✖ Migration failed. See above for further details.

🌍 Your Environment

Angular Version:


Angular CLI: 8.3.22
Node: 12.14.1
OS: darwin x64
Angular: 9.0.0-rc.8
... animations, bazel, common, compiler, compiler-cli, core
... forms, language-service, platform-browser
... platform-browser-dynamic, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.803.22
@angular-devkit/build-angular     0.803.22
@angular-devkit/build-optimizer   0.803.22
@angular-devkit/build-webpack     0.803.22
@angular-devkit/core              8.3.22
@angular-devkit/schematics        8.3.22
@angular/cli                      8.3.22
@bazel/bazel                      0.28.1
@bazel/hide-bazel-files           1.1.0
@bazel/ibazel                     0.10.3
@bazel/karma                      0.34.0
@bazel/protractor                 0.34.0
@bazel/typescript                 0.34.0
@ngtools/webpack                  8.3.22
@schematics/angular               8.3.22
@schematics/update                0.803.22
rxjs                              6.5.4
typescript                        3.6.4
webpack                           4.39.2

Anything else relevant? Although the error states that a tsconfig file could not be found, there is clearly a tsconfig file at the root of the project.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
gurachancommented, Jan 15, 2020

delete everything keep your app and assets… make a new project and paste it there

0reactions
angular-automatic-lock-bot[bot]commented, Jul 4, 2020

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Upgrade to Angular 14 - Techiediaries
Let's see how we can update the CLI to v14 and upgrade an existing project from using version 13 to Angular 14. What...
Read more >
angular/angular-cli - Gitter
Hi guys! I created a new Angular version 9.0.0-rc.9 project using the cli with bazel and I'm unable to serve / build it...
Read more >
Guide Leading Up to Angular 9.0.0 Release - HUSPI
Changes up to Angular 9.0.0, including bug fixes, breaking changes, deprecations, code refactoring, features, and performance improvements.
Read more >
Package List — Spack 0.20.0.dev0 documentation
Versions: 9.0.0, 8.0.0, 7.0.0, 4.0.1, 3.0.0, 0.17.1, 0.15.1, 0.15.0, 0.14.1, ... Bazel supports projects in multiple languages and builds outputs for ...
Read more >
angular/bazel not working in new angular 9 project
Angular CLI: 9.0.3 Node: 12.3.1 OS: win32 x64 windows 10 Angular: 9.0.2 ... bazeltest>ng serve iBazel [11:17AM]: Error getting Bazel info ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found