-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Commit
move to new RxJS distribution. BREAKING CHANGE: RxJS imports now are via `rxjs` instead of `@reactivex/rxjs` Individual operators can be imported `import 'rxjs/operators/map'`
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
3 comments
on commit 5514dc1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suspect this change has broken alpha.48 after Rxjs removed 5.0.0-alpha.11 and changed paths in 5.0.0-alpha-12. See #5641 for details
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Error cant find module error:
import 'rxjs/operators/toPromise';
on modules/angular2/src/facade/async.ts should be,
import 'rxjs/operator/toPromise';
An extra s there causing the damage.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, I think there is a typo, it should be 'rxjs/operator/toPromise' without s in the end (https://github.com/ReactiveX/RxJS/blob/master/src/operator/toPromise.ts). My project (uses 2.0.0-alpha.48) has successfully built only after I fixed it manually in my node_modules.