Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.

TypeError: Cannot read property 'inherits' of undefined #155

Open
Randomfinger opened this issue May 22, 2017 · 4 comments
Open

TypeError: Cannot read property 'inherits' of undefined #155

Randomfinger opened this issue May 22, 2017 · 4 comments

Comments

@Randomfinger
Copy link

Hi,
I included angular, rxjs and no error occured. When I include rx.angular I get the following Error:
Uncaught TypeError: Cannot read property 'inherits' of undefined
at rx.angular.js:591
at rx.angular.js:656
at rx.angular.js:32
at rx.angular.js:34

What can I do?

@paulpdaniels
Copy link

Which angular and rxjs versions?

@Randomfinger
Copy link
Author

angularjs/1.6.4/angular.min.js
[..some directives etc.]
unpkg.com/[email protected]/bundles/Rx.min.js
rx.angular.js (also tried the .min.js)

@Randomfinger
Copy link
Author

I solved the problem now by replacing the Rx code to this: https://raw.githubusercontent.com/Reactive-Extensions/RxJS/master/dist/rx.all.min.js

@paulpdaniels
Copy link

Yes RxJS 5 is not supported by this library.

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

No branches or pull requests

2 participants