Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8-beta.4 fails to load under SystemJS #125

Closed
timbell opened this issue Nov 9, 2017 · 3 comments
Closed

8-beta.4 fails to load under SystemJS #125

timbell opened this issue Nov 9, 2017 · 3 comments

Comments

@timbell
Copy link

timbell commented Nov 9, 2017

Error: (SystemJS) XHR error (404 Not Found) loading http://foo.baz.com/appd/app1/node_modules/rxjs/operators.js

...

Error loading http://foo.baz.com/appd/app1/node_modules/rxjs/operators.js as "rxjs/operators" from http://foo.baz.com/appd/app1/node_modules/ng2-ui-auth/bundles/ng2-ui-auth.umd.js

@ronzeidman
Copy link
Owner

Seems you have an older version of rxjs. the beta uses Rxjs 5.5.0+ that have the new "lettable" operators that seems missing from your version

@timbell
Copy link
Author

timbell commented Nov 10, 2017

No, I'm on 5.5.2. I think it's a SystemJS thing (though that's an internal rxjs issue). I added the following to my systemjs.config.js to get around it:

map: {
...
  'rxjs/operators': 'node_modules/rxjs/operators/index.js'
}

@ronzeidman
Copy link
Owner

I'm guessing it will be common in any library using the new rxjs operators... I'm closing this issue. If you think there is a way I could mediate this in my end feel free to reopen this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants