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

TypeError: t.prototype.get.call(...).timeout is not a function #4

Closed
cguagenti opened this issue Oct 12, 2016 · 4 comments
Closed

TypeError: t.prototype.get.call(...).timeout is not a function #4

cguagenti opened this issue Oct 12, 2016 · 4 comments

Comments

@cguagenti
Copy link

I updated npm, node and ng2-wp-api on the last versions.

If I try to serve the app I get this error. Issue or my fault?

Thanks as always

screen-error

@MurhafSousli
Copy link
Owner

MurhafSousli commented Oct 12, 2016

Try to add this import 'rxjs/add/operator/timeout'; in your root module and let me know if it works, if not, add the whole library import "rxjs"; in your root module, I will fix this next release, The problem with timeout operator that I can't add it alone like import "rxjs/add/operators/timout", we have to load the whole library just for this operator, I will investigate this issue with the angular group

@cguagenti
Copy link
Author

Ok, I will let you know in the morning. Thanks!

@MurhafSousli
Copy link
Owner

@calogeroguagenti It's fixed now, I have pushed the updates to npm.
by the way you might be interested to use ng-progressbar which works pretty well with the loading notifier and also the share buttons
https://github.com/MurhafSousli/ng2-progressbar/
https://github.com/MurhafSousli/ng2-sharebuttons/

@cguagenti
Copy link
Author

Thank you. Very kind.

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

No branches or pull requests

2 participants