-
Notifications
You must be signed in to change notification settings - Fork 17
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
Repeated errors in the absence of an internet connection #115
Comments
What makes you think this is to do with ide-purescript? The only network connection this package makes is to localhost, it's possible that that is behaving badly on your system, it's also possible (as far as the stack trace you show) that something else in Atom is causing the issue - there are plenty of things that do make internet connections. |
A fair and obvious question, I should have justified better up-front. Here's what I've discovered:
|
Thanks. What OS are you running? I feel like there's some issue around dns lookup for localhost, that may be slightly system specific. I've tried and can't reproduce this on my machine :( Can you try this with https://github.com/kRITZCREEK/pscid ? I imagine this is the same but may eliminate some possibilities. If this behaves the same, can you also try with pscid and manually started |
I'm running Windows 10. I'm not sure what you mean by "try this" with pscid & I've never used the tool before. If I just run I've not done any atom plugin development, but as I can readily reproduce it I'd be happy to give some debugging a stab given some pointers if you'd like. |
The reason I ask is auto-completion makes a connection to psc-ide, just as rebuild does (if you have 'fast rebuild' set, which is now default) (and pscid - BTW I mean to try the file watcher, not the If only autocomplete is an issue but not search, tooltips, fast build - then it is unlikely to be to do with this package, and instead something to do with autocomplete+ or some other provider. As for debugging if you open up the developer tools in Atom and manage to break on the exception in question, you may be able to find something interesting. |
Ah right. Yes pscid crashes with the same exception on file save and ide-purescript also errors on save with fast-build enabled. Although ide-purescript:search & tooltips don't function in the absence of internet they also do not produce an error pop-up. It looks to me like this is probably nodejs/node#2237 where sadly the conclusion appears to have been:
However, it looks like the solution is to install a loopback interface as described here for example. Having done so I seem to have full functionality without error =) Thanks for your help! |
When travelling with my laptop, when without an internet connection I am consistently plagued with the following error while I work on Purescript in atom:
The text was updated successfully, but these errors were encountered: