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

Resolving paths wrong in git bash on windows #50

Open
marcofranssen opened this issue Jul 13, 2017 · 1 comment
Open

Resolving paths wrong in git bash on windows #50

marcofranssen opened this issue Jul 13, 2017 · 1 comment
Labels

Comments

@marcofranssen
Copy link

When on windows I get following errors from the which library.

gyp verb `which` failed Error: not found: python2
gyp verb `which` failed     at getNotFoundError (C:\code\my_project\node_modules\which\which.js:13:12)
gyp verb `which` failed     at F (C:\code\my_project\node_modules\which\which.js:68:19)
gyp verb `which` failed     at E (C:\code\my_project\node_modules\which\which.js:80:29)
gyp verb `which` failed     at C:\code\my_project\node_modules\which\which.js:89:16
gyp verb `which` failed     at C:\code\my_project\node_modules\isexe\index.js:42:5
gyp verb `which` failed     at C:\code\my_project\node_modules\isexe\windows.js:36:5
gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:152:21)
gyp verb `which` failed  python2 { Error: not found: python2
gyp verb `which` failed     at getNotFoundError (C:\code\my_project\node_modules\which\which.js:13:12)
gyp verb `which` failed     at F (C:\code\my_project\node_modules\which\which.js:68:19)
gyp verb `which` failed     at E (C:\code\my_project\node_modules\which\which.js:80:29)
gyp verb `which` failed     at C:\code\my_project\node_modules\which\which.js:89:16
gyp verb `which` failed     at C:\code\my_project\node_modules\isexe\index.js:42:5
gyp verb `which` failed     at C:\code\my_project\node_modules\isexe\windows.js:36:5

On windows in git bash it should though have paths like this.

gyp verb `which` failed Error: not found: python2
gyp verb `which` failed     at getNotFoundError (/c/code/my_project/node_modules/which/which.js:13:12)
gyp verb `which` failed     at F (/c/code/my_project/node_modules/which/which.js:68:19)
gyp verb `which` failed     at E (/c/code/my_project/node_modules/which/which.js:80:29)
gyp verb `which` failed     at /c/code/my_project/node_modules/which/which.js:89:16
gyp verb `which` failed     at /c/code/my_project/node_modules/isexe/index.js:42:5
gyp verb `which` failed     at /c/code/my_project/node_modules/isexe/windows.js:36:5
gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:152:21)
gyp verb `which` failed  python2 { Error: not found: python2
gyp verb `which` failed     at getNotFoundError (/c/code/my_project/node_modules/which/which.js:13:12)
gyp verb `which` failed     at F (/c/code/my_project/node_modules/which/which.js:68:19)
gyp verb `which` failed     at E (/c/code/my_project/node_modules/which/which.js:80:29)
gyp verb `which` failed     at /c/code/my_project/node_modules/which/which.js:89:16
gyp verb `which` failed     at /c/code/my_project/node_modules/isexe/index.js:42:5
gyp verb `which` failed     at /c/code/my_project/node_modules/isexe/windows.js:36:5
@pyrsmk
Copy link

pyrsmk commented May 27, 2018

Even if the issue is a bit old : just install python2 ;)

@lukekarrys lukekarrys added the bug label Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants