Welcome to the Angular feedback portal. We’re happy you’re here! If you have feedback on how to improve the Angular, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!


Normal command: ng serve --prod

Expected Output: Should be compiled without any error

Actual Output: Could not be compiled, throws below error

core.js.pre-build-optimizer.js:15724 ERROR TypeError: Cannot read property 'viewContainerRef' of undefined
    at template.js.pre-build-optimizer.js:17
    at template-engine.js.pre-build-optimizer.js:19
    at t.l10nUpdate (drop-down-base.js.pre-build-optimizer.js:203)
    at t.postRender (drop-down-base.js.pre-build-optimizer.js:479)
    at t.onActionComplete (drop-down-base.js.pre-build-optimizer.js:470)
    at t.onActionComplete (drop-down-list.js.pre-build-optimizer.js:1254)
    at t.onActionComplete (combo-box.js.pre-build-optimizer.js:211)
    at t.setListData (drop-down-base.js.pre-build-optimizer.js:397)
    at t.initialize (drop-down-base.js.pre-build-optimizer.js:273)
    at t.render (drop-down-base.js.pre-build-optimizer.js:773)


we would like to suggest the below workaround solution to resolve this issue by modifying the angular.json file.


"optimization": false,

"buildOptimizer": false