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.

@angular-builders/custom-webpack:browser fails with angular 9.1

See original GitHub issue

Describe the Bug

Tried to use @angular/cli v9.1 which has typescript 3.8 and when I tried to perform ng build using @angular-builders/custom-webpack:browser it fails with error

ERROR in Cannot read property 'flags' of undefined

Minimal Reproduction

  1. Checkout https://github.com/devs-from-matrix/ff4j-web-console
  2. yarn install
  3. yarn run build:features-element

Expected Behavior

Should generate build files

Environment


Libs
- @angular/core version: 9.1.0
- @angular-devkit/build-angular version: ~0.901.0
- @angular-builders/custom-webpack version: 9.0.0

For Tooling issues:
- Node version: v13.8.0
- Platform:  Mac


Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
just-jebcommented, Mar 29, 2020

Probably the same as this. Would you mind trying v9.1.0-beta.1?

0reactions
just-jebcommented, Apr 2, 2020

@adover By 0.907.0 you meant 0.900.7 I guess? You shouldn’t be adding it manually in any case if you do so it’s a problem.
Anyways, I don’t see a version mismatch in your package-lock so it’s not related to this specific issue. Would you mind creating another issue with a clear description and steps to reproduce?
I’m closing this one as solved.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't use custom-webpack:dev-server with angular 9.1.0
Describe the Bug builder is set to @angular-builders/custom-webpack:dev-server Running ng serve ends up with message: ERROR in Cannot read ...
Read more >
angular-builders/custom-webpack
Custom webpack builders for Angular build facade. Allow to modify Angular build configuration without ejecting it. Latest version: 15.0.0, ...
Read more >
Angular v13 Migration issue Unable to resolve ...
Using Angular docs , I try to upgrade (migrate) angular from v 12 to v 13 ... Unable to resolve @angular-builders/custom-webpack:dev-server.
Read more >
I've encountered an error when I changed the builder ...
I've encountered an error when I changed the builder to @angular-builders/custom-webpack:browser. ng build fails with: ERROR in .
Read more >
Getting Started with Angular CLI | ExtWebComponents 7.0.0
To install Angular CLI, bring up a terminal or command window and use the ... to @angular-builders/custom-webpack:browser and add the customWebpackConfig ...
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