I had this problem today. I use systemjs to load dependencies.
I downloaded Rxjs as follows:
... paths: { "rxjs/*": "node_modules/rxjs/bundles/Rx.umd.min.js" }, ...
Instead of using paths, use this:
var map = { ... 'rxjs': 'node_modules/rxjs', ... } var packages = { ... 'rxjs': { main: 'bundles/Rx.umd.min.js', defaultExtension: 'js' } ... }
This small change in the way the system loads the library fixed my problem.
Eli Jul 12 '16 at 21:05 2016-07-12 21:05
source share