You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix: we should update build script to produce es5 and es2015(missing at the moment) version of ngx-bs
Bug description or feature request:
In my tsconfig.json when using "target": "es5" everything is fine, but if I use "target": "es6" I get the following console error every time there is an instance of the <timepicker>:
TypeError: Class constructor BehaviorSubject cannot be invoked without 'new'
at new MiniState (state.class.js:21)
at new TimepickerStore (timepicker.store.js:23)
at createClass (core.js:10073)
at _createProviderInstance (core.js:10052)
at createProviderInstance (core.js:9895)
at createViewNodes (core.js:11346)
at callViewAction (core.js:11791)
at execComponentViewsAction (core.js:11700)
at createViewNodes (core.js:11387)
at createRootView (core.js:11249)
at new MiniState (state.class.js:21)
at new TimepickerStore (timepicker.store.js:23)
at createClass (core.js:10073)
at _createProviderInstance (core.js:10052)
at createProviderInstance (core.js:9895)
at createViewNodes (core.js:11346)
at callViewAction (core.js:11791)
at execComponentViewsAction (core.js:11700)
at createViewNodes (core.js:11387)
at createRootView (core.js:11249)
at resolvePromise (zone.js:824)
at resolvePromise (zone.js:795)
at eval (zone.js:873)
at ZoneDelegate.invokeTask (zone.js:425)
at Object.onInvokeTask (core.js:3856)
at ZoneDelegate.invokeTask (zone.js:424)
at Zone.runTask (zone.js:192)
at drainMicroTaskQueue (zone.js:602)
at ZoneTask.invokeTask [as invoke] (zone.js:503)
at invokeTask (zone.js:1540)
Versions of ngx-bootstrap, Angular, and Bootstrap:
The text was updated successfully, but these errors were encountered:
FrancescoBorzi
changed the title
core.js:1276 ERROR Error: Uncaught (in promise): TypeError: Class constructor BehaviorSubject cannot be invoked without 'new' TypeError: Class constructor BehaviorSubject cannot be invoked without 'new'
TypeError: Class constructor BehaviorSubject cannot be invoked without 'new'
Nov 29, 2017
valorkin
changed the title
TypeError: Class constructor BehaviorSubject cannot be invoked without 'new'
fix(build): TypeError: Class constructor BehaviorSubject cannot be invoked without 'new'
Dec 1, 2017
update by valorkin, thanks to ShinDarth:
It's a blocking issue to release v2
Fix: we should update build script to produce es5 and es2015(missing at the moment) version of ngx-bs
Bug description or feature request:
In my
tsconfig.json
when using"target": "es5"
everything is fine, but if I use"target": "es6"
I get the following console error every time there is an instance of the<timepicker>
:Versions of ngx-bootstrap, Angular, and Bootstrap:
ngx-bootstrap:
^2.0.0-beta.9
Angular:
5.0.3
Bootstrap:
^3.3.7
rxjs:
^5.5.2
Build system: Angular CLI, System.js, webpack, starter seed:
The text was updated successfully, but these errors were encountered: