angular: [ES6 support] Cannot reflectively construct classes in ES6 mode

Because we reflectively create instances of things defined as ES6 class and constructor, we get a Chrome error: constructor cannot be invoked without 'new'

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 18 (9 by maintainers)

Commits related to this issue

Most upvoted comments

Same issue here - targeting es2015 in tsconfig as I’m using the DI as a component for a node backend server.

Hi guys! I just updated my project using Angular 2 final release but I then I experiencing this issue since on the server side I use Angular 2 DI independently. @vicb would you please told me what the solution for this? 😦