ngx-bootstrap: Cannot enable prod mode with v1.9.2

update by valorkin blocked by angular issue: https://github.com/angular/angular/issues/12200

Just upgraded to 1.9.2 and the --prod build throws uncaught error “Cannot enable prod mode after platform setup”. Downgrading to 1.9.1 fixes the issue.

This is on Agular 4.3.5 and bootstrap 4.0.0.-aplha.6.

image

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 10
  • Comments: 20 (9 by maintainers)

Commits related to this issue

Most upvoted comments

I’m having the same problem

@stefda I have updated topic, and fix is on the way should land as 1.9.3

Downgraded to v1.9.0 works for me