-
Notifications
You must be signed in to change notification settings - Fork 41
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
basedir incorrectly resolved on msysgit #16
Comments
Problem also occurs with $ npm -v
2.15.0
$ node -v
v4.4.2 |
Dang, I apologize that my change is causing issues. The change was to swap out the escaped Looks like the base directory is resolving incorrectly for you. Out of curiosity does it work from regular cmd.exe? I'll try to test a couple of scenarios when I'm back on a Windows machine. |
It does work in cmd.exe but it is no surprise because it runs $ git --version
git version 2.6.4.windows.1 ...and now everything seems fine. So it turns out it is a problem with newer Git for Windows. Sorry for wasting your time! |
Hi
I recently upgraded node from v0.12.4 to v5.10.0 (which comes with npm@3.8.3 which comes with cmd-shim@2.0.2), installed jspm (but it can be any node module) globally and got:
Path
C:\Program Files\Git\node_modules\jspm\jspm.js
is incorrect as in my case it should beC:\.tools\nodejs\node_modules\jspm\jspm.js
. I found that it can be resolved by reverting change introduced by #4 (/cc @copenhas):I'm having the same issue on 2 machines with similar setup: Windows 10 and Git Bash which comes with Git for Windows 2.8.1 (https://chocolatey.org/packages/git).
As a workaround I found that invoking
jspm.cmd init
works as it should.The text was updated successfully, but these errors were encountered: