Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR in Cannot read property 'flags' of undefined #712

Closed
vedran-m opened this issue Apr 1, 2020 · 2 comments
Closed

ERROR in Cannot read property 'flags' of undefined #712

vedran-m opened this issue Apr 1, 2020 · 2 comments

Comments

@vedran-m
Copy link

vedran-m commented Apr 1, 2020

Describe the Bug

Can't build the starter cli project with ng build after using "builder": "@angular-builders/custom-webpack:browser" as it returns the error:
ERROR in Cannot read property 'flags' of undefined

Minimal Reproduction

  1. Created an empty Angular app using latest (9.1.0) CLI following the guilde on https://angular.io/cli SASS was chosen as the style sheet library.
  2. Replaced the builder with "builder": "@angular-builders/custom-webpack:browser"
  3. Ran ng build

Expected Behavior

Expected the app to build

Screenshots

Environment


Libs
- @angular/core version: 9.1.0
- @angular-devkit/build-angular version: 0.901.0
- @angular-builders/{the name of the builder} version: 9.0.0

For Tooling issues:
- Node version: v10.15.0  
- Platform:  Windows 

Others:

Additional Context

Add any other context about the problem here.

@just-jeb
Copy link
Owner

just-jeb commented Apr 1, 2020

Duplicate of #708

@just-jeb just-jeb marked this as a duplicate of #708 Apr 1, 2020
@just-jeb just-jeb closed this as completed Apr 1, 2020
@vedran-m
Copy link
Author

vedran-m commented Apr 2, 2020

Tried the beta, fixes the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants