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

Couldn't load ungit. v0.9.2 with node v0.12 #542

Closed
yanosh-igor opened this issue Apr 21, 2015 · 10 comments · Fixed by #551
Closed

Couldn't load ungit. v0.9.2 with node v0.12 #542

yanosh-igor opened this issue Apr 21, 2015 · 10 comments · Fixed by #551

Comments

@yanosh-igor
Copy link

On v0.8.4 everything works fine with node v0.12.
But with v0.9.2 when I type ungit it opens browser and loading very long and at the end shows "Connection lost Refresh the page to try to reconnect".

Attached console information and screen from browser:
console2 - ungit 2015-04-21 13 04 27

dukejobs _ e_ - google chrome 2015-04-21 13 03 44

Could you please suggest something.
.

@FredrikNoren
Copy link
Owner

Try uninstalling npm uninstall -g ungit, restarting your machine and then installing npm install -g ungit@latest

@jung-kim
Copy link
Collaborator

Also do you see anything interesting on the client side log?

@FredrikNoren
Copy link
Owner

@codingtwinky the last thing in his log is /baserepopath which previously froze the whole process so I suspect that somehow he's still on old code somehow

@jung-kim
Copy link
Collaborator

@yanosh-igor is it possible that having two different versions, dev version and global installed npm version, and are you confusing one from another?

@yanosh-igor
Copy link
Author

Tried reinstall ungit(remove/install).
Run ungit command in console, sometimes its loaded properly and sometimes not.

@yanosh-igor
Copy link
Author

@codingtwinky no, I have installed ungit only globally.

@yanosh-igor
Copy link
Author

Have noticed that ungit loads only from subdirectory, not from root directory where my git project initialized.
Attached console from browser.
dukejobs _ e_ - google chrome 2015-04-22 12 44 22

@jung-kim
Copy link
Collaborator

My suspicion is that this line doesn't work for you as your git repo location is at E:/dukejobs.

@FredrikNoren what exactly is the purpose of isRoot function? Maybe I'm missing something but function suppose to determine whether a path is NOT root rather then is root. Also for windows why is it length > 3?

@brianwalleshauser
Copy link

@yanosh-igor I was having the exact same issue

@codingtwinky this is probably terrible, but I went to that line and changed the 3 to a 1. Everything seems to be working for now

@FredrikNoren
Copy link
Owner

@brianwalleshauser can you try the latest master? git clone https://github.com/FredrikNoren/ungit.git && cd ungit && npm install && npm install grunt-cli && ./node_modules/.bin/grunt && npm install -g . should build and install it

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

Successfully merging a pull request may close this issue.

4 participants