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

Uncaught error: baseCodecheck.map(...).cache is not a function(…) #880

Open
igorrafael opened this issue Oct 27, 2016 · 1 comment
Open

Comments

@igorrafael
Copy link

igorrafael commented Oct 27, 2016

I am not able to open any solution in Linux (arch) or Windows 10. After enabling "developer mode" in omnisharp-atom settings, I can see this error in the console:

~/.atom/packages/omnisharp-atom/dist/server/view-model.js:307
Uncaught (in promise) TypeError: baseCodecheck.map(...).cache is not a function

I am using atom 1.10.2 and omnisharp-atom 0.30.7 installed via the package manager.

edit: omnisharp-atom version

@igorrafael
Copy link
Author

Found the cause for the error: the cache function was removed from rxjs (ReactiveX/rxjs#2012). The easiest solution is just removing the call to cache().

Since it also affects omnisharp-node-client, I will submit a pull request there first and after it's fixed there I can fix it here.

igorrafael added a commit to igorrafael/omnisharp-node-client that referenced this issue Oct 29, 2016
This method was removed from RxJS-5.0.0 release (ReactiveX/rxjs#2012).

Maybe some caching alternative could be implemented later.
For now, it needs to be removed to make the library usable again
(OmniSharp/omnisharp-atom#880).
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

1 participant