core: Cannot use with rxjs 5.0.0-beta.2
I tried updating today to the latest version of ng2-translate but my app fails when ng2-translate tries to load /rxjs/add/observable/of
. This module was properly added only in rxjs 5.0.0-beta3.
You can compare the main Rx
files:
- https://github.com/ReactiveX/rxjs/blob/5.0.0-beta.2/src/Rx.ts
- https://github.com/ReactiveX/rxjs/blob/5.0.0-beta.3/src/Rx.ts
The issue was introduced in https://github.com/ocombe/ng2-translate/commit/4b78732e. I’m using rxjs 5.0.0-beta.2
as angular2.0.0-beta13 uses this exact same version.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 4
- Comments: 22
I have the same issue. Are there any temporary hotfixes?
Observable.of is added to Observable by calling
import 'rxjs/add/observable/of';
.I just released a new version that removed most peer dependencies, included the dependency to RxJS. It’s still a dependency but since I use the same as Angular 2, I don’t need to specify it (I think). Let me know if it fixes some of your problems ?