brackets-bower icon indicating copy to clipboard operation
brackets-bower copied to clipboard

Help with $PATH

Open awakekat opened this issue 9 years ago • 54 comments

After installing the plugin I get a warning error that brackets cant find git in the path. I use ohmyzsh and am able to get to my .zshrc file to make changes but I do not know what changes to make.

echo $PATH = is 3 lines long the width of my monitor and I know that can't be right, but here it is: /usr/local/git/bin:/usr/local/git/bin:/usr/local/git/bin:/usr/local/git/bin:/usr/local/git/bin:/usr/local/git/bin/git:/usr/local/heroku/bin:/usr/git/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin:/Users/username/.rvm/bin:/Users/username/.rvm/bin:/Users/username/.rvm/bin:/Users/username/.rvm/bin:/Users/username/.rvm/bin:/Users/username/.rvm/bin:/Users/username/.rvm/bin (This looks wacky to me with so many repeats)

I had a problem updating git to the new version of gitand had to take some didfficult steps to make the new version take - I kept checking the version number and it would stay after updating. Since then things are not working properly. HELP Please?! <3

In the .zshrc file: export PATH=/usr/local/git/bin:$PATH

FYI - this problem is on all 3 of my macs. Would really like help fixing this.

awakekat avatar Feb 28 '15 20:02 awakekat

Hi @awakekat ! Can you open a terminal and type git --version and paste the output here? Thanks!

albertinad avatar Mar 01 '15 21:03 albertinad

2.2.1

On Mar 1, 2015, at 4:56 PM, Albertina Durante [email protected] wrote:

Hi @awakekat https://github.com/awakekat ! Can you open a terminal and type git --version and paste the output here? Thanks!

— Reply to this email directly or view it on GitHub https://github.com/albertinad/brackets-bower/issues/45#issuecomment-76633414.

awakekat avatar Mar 02 '15 03:03 awakekat

me too, git --version // output: git version 1.9.5.msysgit.0 i'm using windows 8.1

e-cloud avatar Mar 10 '15 13:03 e-cloud

@e-cloud can you share the console output? Debug -> Show Developer Tools (F12) -> Console Tab Thanks!

albertinad avatar Mar 10 '15 14:03 albertinad

i checked the DevTool, and found nothing about bower. But i feel very sorry, when i restart my PC, bower extension works. it may be because of my reinstallation for git and the lazy-updated path

e-cloud avatar Mar 10 '15 15:03 e-cloud

I have restarted and I still get the error when installing Brackets Bower... When trying to install a bower package it gets stuck - obviously can't find git path...

awakekat avatar Mar 10 '15 20:03 awakekat

Hi @awakekat , sorry for the delay on the fix, I setup an environment in mac, so I can fix this ASAP, can you share the output of console please? If there's something that can help me.

albertinad avatar Mar 10 '15 20:03 albertinad

Hope this is what you wanted:

/thirdparty/react.js:4356 Download the React DevTools for a better development experience: http://fb.me/react-devtools /utils/DeprecationWarning.js:90 Deprecated: Do not use $().on/off() on Brackets modules and model objects. Call on()/off() directly on the object without a $() wrapper. at new jQuery.fn.init (/brackets.js:481:36) at n (file:///Applications/Brackets.app/Contents/www/thirdparty/thirdparty.min.js:559:405) at Object.eval (/SASSAgent.js:161:5) /utils/DeprecationWarning.js:90 Deprecated: Do not use $().on/off() on Brackets modules and model objects. Call on()/off() directly on the object without a $() wrapper. at new jQuery.fn.init (/brackets.js:481:36) at n (file:///Applications/Brackets.app/Contents/www/thirdparty/thirdparty.min.js:559:405) at Object.eval (/main.js:322:5) /utils/DeprecationWarning.js:90 Deprecated: Do not use $().on/off() on Brackets modules and model objects. Call on()/off() directly on the object without a $() wrapper. at new jQuery.fn.init (/brackets.js:481:36) at n (file:///Applications/Brackets.app/Contents/www/thirdparty/thirdparty.min.js:559:405) at Object. (file:///Users/MiniKat/Library/Application%20Support/Brackets/extensions/user/sbruchmann.static-preview/server/ServerManager.js:12:27) /utils/DeprecationWarning.js:90 Deprecated: Do not use $().on/off() on Brackets modules and model objects. Call on()/off() directly on the object without a $() wrapper. at new jQuery.fn.init (/brackets.js:481:36) at n (file:///Applications/Brackets.app/Contents/www/thirdparty/thirdparty.min.js:559:405) at Object.eval (/./ParfaitAPI.js:123:5) /utils/DeprecationWarning.js:90 Deprecated: Do not use $().on/off() on Brackets modules and model objects. Call on()/off() directly on the object without a $() wrapper. at new jQuery.fn.init (/brackets.js:481:36) at n (file:///Applications/Brackets.app/Contents/www/thirdparty/thirdparty.min.js:559:405) at Object.eval (/./ParfaitAPI.js:124:5) /utils/DeprecationWarning.js:90 Deprecated: Do not use $().on/off() on Brackets modules and model objects. Call on()/off() directly on the object without a $() wrapper. at new jQuery.fn.init (/brackets.js:481:36) at n (file:///Applications/Brackets.app/Contents/www/thirdparty/thirdparty.min.js:559:405) at Object.eval (/./ParfaitAPI.js:125:5) /utils/DeprecationWarning.js:90 Deprecated: Do not use $().on/off() on Brackets modules and model objects. Call on()/off() directly on the object without a $() wrapper. at new jQuery.fn.init (/brackets.js:481:36) at n (file:///Applications/Brackets.app/Contents/www/thirdparty/thirdparty.min.js:559:405) at _statusChangeHandler (/SASSAgent.js:141:49) at Object.trigger (/utils/EventDispatcher.js:222:40) at _setStatus (/LiveDevelopment/LiveDevelopment.js:329:17) at Object.init (/LiveDevelopment/LiveDevelopment.js:1487:9) at eval (/LiveDevelopment/main.js:308:25) at _callHandler (/utils/AppInit.js:93:13) at Object._dispatchReady (/utils/AppInit.js:113:13) /LiveDevelopment/MultiBrowserImpl/transports/NodeSocketTransport.js:87 NodeSocketTransport - start /command/KeyBindingManager.js:740 Cannot assign Alt-Cmd-B to io.emmet.balance_outward. It is already assigned to com.adobe.brackets.commands.bower.installFromBower /utils/DeprecationWarning.js:90 Deprecated: Do not use $().on/off() on Brackets modules and model objects. Call on()/off() directly on the object without a $() wrapper. at new jQuery.fn.init (/brackets.js:481:36) at n (file:///Applications/Brackets.app/Contents/www/thirdparty/thirdparty.min.js:559:405) at init (file:///Users/MiniKat/Library/Application%20Support/Brackets/extensions/user/brackets-emmet/main.js:245:3) at loadExtensions (file:///Users/MiniKat/Library/Application%20Support/Brackets/extensions/user/brackets-emmet/main.js:169:4) at file:///Users/MiniKat/Library/Application%20Support/Brackets/extensions/user/brackets-emmet/main.js:264:3 at _callHandler (/utils/AppInit.js:93:13) at Object._dispatchReady (/utils/AppInit.js:113:13) at Object.eval (/brackets.js:291:33) at j (file:///Applications/Brackets.app/Contents/www/thirdparty/thirdparty.min.js:559:26911) /filesystem/impls/appshell/AppshellFileSystem.js:441 Blind write attempted: /Users/MiniKat/Desktop/sandbox/.brackets.json 1425513486000 null /utils/DeprecationWarning.js:90 Deprecated: Do not use $().on/off() on Brackets modules and model objects. Call on()/off() directly on the object without a $() wrapper. at new jQuery.fn.init (/brackets.js:481:36) at n (file:///Applications/Brackets.app/Contents/www/thirdparty/thirdparty.min.js:559:405) at Object.registerMainPanel (/./MainPanel.js:285:9) at _appReadyHandler (/main.js:281:19) at _callHandler (/utils/AppInit.js:93:13) at _addListener (/utils/AppInit.js:128:13) at Object.appReady (/utils/AppInit.js:141:9) at Object.eval (/main.js:304:17) at j (file:///Applications/Brackets.app/Contents/www/thirdparty/thirdparty.min.js:559:26911) /utils/DeprecationWarning.js:90 Deprecated: Do not use $().on/off() on Brackets modules and model objects. Call on()/off() directly on the object without a $() wrapper. at new jQuery.fn.init (/brackets.js:481:36) at n (file:///Applications/Brackets.app/Contents/www/thirdparty/thirdparty.min.js:559:405) at Object._initParfaitControlsPopup as initParfaitControlsPopup at _appReadyHandler (/main.js:282:22) at _callHandler (/utils/AppInit.js:93:13) at _addListener (/utils/AppInit.js:128:13) at Object.appReady (/utils/AppInit.js:141:9) at Object.eval (/main.js:304:17) at j (file:///Applications/Brackets.app/Contents/www/thirdparty/thirdparty.min.js:559:26911) /utils/DeprecationWarning.js:90 Deprecated: Do not use $().on/off() on Brackets modules and model objects. Call on()/off() directly on the object without a $() wrapper. at new jQuery.fn.init (/brackets.js:481:36) at n (file:///Applications/Brackets.app/Contents/www/thirdparty/thirdparty.min.js:559:405) at _appReadyHandler (/main.js:285:9) at _callHandler (/utils/AppInit.js:93:13) at _addListener (/utils/AppInit.js:128:13) at Object.appReady (/utils/AppInit.js:141:9) at Object.eval (/main.js:304:17) at j (file:///Applications/Brackets.app/Contents/www/thirdparty/thirdparty.min.js:559:26911) at Object.k.fireWith as resolveWith /utils/DeprecationWarning.js:90 Deprecated: Do not use $().on/off() on Brackets modules and model objects. Call on()/off() directly on the object without a $() wrapper. at new jQuery.fn.init (/brackets.js:481:36) at n (file:///Applications/Brackets.app/Contents/www/thirdparty/thirdparty.min.js:559:405) at _attachExtensionManagerListener (/main.js:118:9) at _appReadyHandler (/main.js:289:9) at _callHandler (/utils/AppInit.js:93:13) at _addListener (/utils/AppInit.js:128:13) at Object.appReady (/utils/AppInit.js:141:9) at Object.eval (/main.js:304:17) at j (file:///Applications/Brackets.app/Contents/www/thirdparty/thirdparty.min.js:559:26911) /utils/DeprecationWarning.js:90 Deprecated: Do not use $().on/off() on Brackets modules and model objects. Call on()/off() directly on the object without a $() wrapper. at new jQuery.fn.init (/brackets.js:481:36) at n (file:///Applications/Brackets.app/Contents/www/thirdparty/thirdparty.min.js:559:405) at _setupAbandonmentEvents (/main.js:234:9) at _appReadyHandler (/main.js:291:9) at _callHandler (/utils/AppInit.js:93:13) at _addListener (/utils/AppInit.js:128:13) at Object.appReady (/utils/AppInit.js:141:9) at Object.eval (/main.js:304:17) at j (file:///Applications/Brackets.app/Contents/www/thirdparty/thirdparty.min.js:559:26911) /utils/DeprecationWarning.js:90 Deprecated: Do not use $().on/off() on Brackets modules and model objects. Call on()/off() directly on the object without a $() wrapper. at new jQuery.fn.init (/brackets.js:481:36) at n (file:///Applications/Brackets.app/Contents/www/thirdparty/thirdparty.min.js:559:405) at _appReadyHandler (/main.js:294:9) at _callHandler (/utils/AppInit.js:93:13) at _addListener (/utils/AppInit.js:128:13) at Object.appReady (/utils/AppInit.js:141:9) at Object.eval (/main.js:304:17) at j (file:///Applications/Brackets.app/Contents/www/thirdparty/thirdparty.min.js:559:26911) at Object.k.fireWith as resolveWith

On Mar 10, 2015, at 4:34 PM, Albertina Durante [email protected] wrote:

Hi @awakekat https://github.com/awakekat , sorry for the delay on the fix, I setup an environment in mac, so I can fix this ASAP, can you share the output of console please? If there's something that can help me.

— Reply to this email directly or view it on GitHub https://github.com/albertinad/brackets-bower/issues/45#issuecomment-78142174.

awakekat avatar Mar 11 '15 03:03 awakekat

So here is a question... I am trying to fix my $PATH, what does yours look like? when I type 'which bower', I get /usr/local/bin/bower - so it is there but it must not be in the path for Brackets to find. I have manually added the bower path to $PATH and it looks like this:

export PATH=/usr/local/bin:/usr/local/git/bin:/usr/local/bin/bower:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin

Is there something out of order or missing??

Thanks

awakekat avatar Mar 12 '15 02:03 awakekat

Ok it's late and I have been working at this too long. The error I am getting now is that the plugin cannot find git. I type 'which git' and get '/usr/local/git/bin/git' and my path= '/usr/local/bin:/usr/local/git/bin/git:/usr/local/bin/bower:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin'

I have uninstalled and reinstall the bower plugin each time I have made changes to the $PATH to check if it finds it - not so.

So if someone has a working plugin please let me know what your path says...

awakekat avatar Mar 12 '15 02:03 awakekat

There's no need to have bower installed on the system, because the extension provides one. I'm trying to reproduce this on my mac, today I will try to have an answer for you.

albertinad avatar Mar 12 '15 13:03 albertinad

Tinkering some more... So this morning I went to bower install a package in the terminal and bower couldn't find git - What the...!! So I put the default git path as the very first entry - /usr/local/git/bin Then I was able to see the path with 'which git' but it gave me - /usr/local/git/bin/git so I put that at the end of the path, but brackets bower is still not happy...

awakekat avatar Mar 12 '15 15:03 awakekat

and with that change to the PATH variable, did you try to run bower install from the console?

albertinad avatar Mar 12 '15 15:03 albertinad

No because with a new install of the bower plugin I got the same error trying to find git, but I gave it a try and got this: screen shot 2015-03-12 at 12 42 15 pm

awakekat avatar Mar 12 '15 16:03 awakekat

With the plugin installed, opening Brackets shows this error every time:

screen shot 2015-03-12 at 12 44 14 pm

awakekat avatar Mar 12 '15 16:03 awakekat

Sorry! I mean running bower install jquery from a OS terminal/console.

albertinad avatar Mar 12 '15 18:03 albertinad

The output of echo $PATH on the terminal of my mac is the following: /usr/bin:/bin:/usr/sbin:/usr/local/bin:/opt/x11/bin:/usr/local/git/bin and the output of which git: /usr/bin/git

albertinad avatar Mar 12 '15 18:03 albertinad

Can you try to modify your env PATH variable, to include this path /usr/local/git/bin instead of the path to the binary directly, /usr/local/git/bin/git ?. But make that change directly to the /etc/paths.

albertinad avatar Mar 12 '15 18:03 albertinad

I am with you until the part: "But make that change directly to the /etc/paths." Where is that located? Yes I have /usr/local/git/bin as the very first entry and still get error.

awakekat avatar Mar 13 '15 14:03 awakekat

I mean that you can try open the file paths, located at /etc (I'm not really sure if that is a common location for the file in mac no matter the version of the OS). Another question, may be a dummy one, did you export the modified PATH variable on the terminal instance that you're running bower and git, or did you just update some file like bash_profile for your user?

Sorry to insist on this :) but I need to understand if this is a problem from my extension or bower to locate git in your system. If you run the command bower install jquery in a terminal and get an error, it's a path problem.

albertinad avatar Mar 13 '15 22:03 albertinad

Yes in my mac terminal I can type ‘bower install jquery’ and it works.

I do have a bash profile manager .zsh and the .zshrc file is the one I am using to update the path. Outside of that process I don’t know where else on a mac the PATH would be listed. I did look around for a /etc and didn’t find one even in the hidden files.

If the plugin is looking for git and can’t find it in the “normal location”, is there a preference in the plugin to override and enter the new path??

On Mar 13, 2015, at 6:07 PM, Albertina Durante [email protected] wrote:

I mean that you can try open the file paths, located at /etc (I'm not really sure if that is a common location for the file in mac no matter the version of the OS). Another question, may be a dummy one, did you export the modified PATH variable on the terminal instance that you're running bower and git, or did you just update some file like bash_profile for your user?

Sorry to insist on this :) but I need to understand if this is a problem from my extension or bower to locate git in your system. If you run the command bower install jquery in a terminal and get an error, it's a path problem.

— Reply to this email directly or view it on GitHub https://github.com/albertinad/brackets-bower/issues/45#issuecomment-79465511.

awakekat avatar Mar 13 '15 22:03 awakekat

The extension uses node child_process.exec to run git --version. If that doesn't work, is not a really big problem, just improving the mechanism of detection of git would be enough. My concern is that internally, bower from the extension can't find git. Internally, bower (provided through the extension) uses child_process.spawn to run git commands. It doesn't allow to specify the git executable, it just assume that git is available at the system level. I never changed that, cause I'm providing the current version of bower that is released, and I didn't changed the version it for about months. It is the latest one. Can you provide me the version of mac OS that you're using?

albertinad avatar Mar 13 '15 23:03 albertinad

And what about creating a .bash_profile file in your home directory and there export PATH containing /usr/local/git/bin at first?

albertinad avatar Mar 14 '15 00:03 albertinad

Yosemite 10.10.2

On Mar 13, 2015, at 7:59 PM, Albertina Durante [email protected] wrote:

The extension uses node child_process.exec to run git --version. If that doesn't work, is not a really big problem, just improving the mechanism of detection of git would be enough. My concern is that internally, bower from the extension can't find git. Internally, bower (provided through the extension) uses child_process.spawn to run git commands. It doesn't allow to specify the git executable, it just assume that git is available at the system level. I never changed that, cause I'm providing the current version of bower that is released, and I didn't changed the version it for about months. It is the latest one. Can you provide me the version of mac OS that you're using?

— Reply to this email directly or view it on GitHub https://github.com/albertinad/brackets-bower/issues/45#issuecomment-79542886.

awakekat avatar Mar 14 '15 01:03 awakekat

Did what you suggested with the .bash_profile - no dice error still pops up

On Mar 13, 2015, at 8:09 PM, Albertina Durante [email protected] wrote:

And what about creating a .bash_profile file and there export PATH containing /usr/local/git/bin at first?

— Reply to this email directly or view it on GitHub https://github.com/albertinad/brackets-bower/issues/45#issuecomment-79553116.

awakekat avatar Mar 14 '15 01:03 awakekat

Could you please load this version of the extension? Just in case, make sure to uninstall the previous version. This version only add a logger to the node domain, you can try adding a bower.json file to your project, add some dependencies to install, then run install from the extension panel and wait until it fails. Then, after failing to installing the packages, go to your user home directory, and it should be there the file brackets-bower.log. Please share the content with me. If that file wasn't created, open CDT on brackets and paste the output here.

Thanks!

albertinad avatar Mar 14 '15 03:03 albertinad

I manually installed and placed the contents of the zip file folder in Library/Application SupportBrackets/extensions/user

Got the error. Used the plugin to create the bower.json and the bowerrc file

Could not find anywhere on the mac the brackets-bower.log file so here is the contents of the CDT:

NodeDebugUtils.js:117 [node-log 11:47:58 PM] [31m[2015-03-13 23:47:58.729] [ERROR] brackets-bower - [39m[install command] 2015-03-13 23:47:58.734NodeDebugUtils.js:117 [node-log 11:47:58 PM] [31m[2015-03-13 23:47:58.731] [ERROR] brackets-bower - [39m{ [Error: git is not installed or not in the PATH] code: 'ENOGIT', data: { endpoint: { name: 'foundation', source: 'zurb/bower-foundation', target: '_' } } } Error: git is not installed or not in the PATH at createError (/Users/katherinewakefield/Library/Application Support/Brackets/extensions/user/brackets-bower-0.2.2-logger/node/node_modules/bower/lib/util/createError.js:4:15) at GitHubResolver.GitResolver (/Users/katherinewakefield/Library/Application Support/Brackets/extensions/user/brackets-bower-0.2.2-logger/node/node_modules/bower/lib/core/resolvers/GitResolver.js:34:15) at GitHubResolver.GitRemoteResolver (/Users/katherinewakefield/Library/Application Support/Brackets/extensions/user/brackets-bower-0.2.2-logger/node/node_modules/bower/lib/core/resolvers/GitRemoteResolver.js:10:17) at new GitHubResolver (/Users/katherinewakefield/Library/Application Support/Brackets/extensions/user/brackets-bower-0.2.2-logger/node/node_modules/bower/lib/core/resolvers/GitHubResolver.js:12:23) at /Users/katherinewakefield/Library/Application Support/Brackets/extensions/user/brackets-bower-0.2.2-logger/node/node_modules/bower/lib/core/resolverFactory.js:24:16 at /Users/katherinewakefield/Library/Application Support/Brackets/extensions/user/brackets-bower-0.2.2-logger/node/node_modules/q/q.js:1142:26 at fulfilled (/Users/katherinewakefield/Library/Application Support/Brackets/extensions/user/brackets-bower-0.2.2-logger/node/node_modules/q/q.js:787:54) at self.promiseDispatch.done (/Users/katherinewakefield/Library/Application Support/Brackets/extensions/user/brackets-bower-0.2.2-logger/node/node_modules/q/q.js:816:30) at Promise.promise.promiseDispatch (/Users/katherinewakefield/Library/Application Support/Brackets/extensions/user/brackets-bower-0.2.2-logger/node/node_modules/q/q.js:749:13) at /Users/katherinewakefield/Library/Application Support/Brackets/extensions/user/brackets-bower-0.2.2-logger/node/node_modules/q/q.js:509:49 2015-03-13 23:48:04.526NodeDebugUtils.js:117 [node-log 11:48:04 PM] [31m[2015-03-13 23:48:04.524] [ERROR] brackets-bower - [39m[install command] 2015-03-13 23:48:04.528NodeDebugUtils.js:117 [node-log 11:48:04 PM] [31m[2015-03-13 23:48:04.525] [ERROR] brackets-bower - [39m{ [Error: git is not installed or not in the PATH] code: 'ENOGIT', data: { endpoint: { name: 'foundation', source: 'zurb/bower-foundation', target: '' } } } Error: git is not installed or not in the PATH at createError (/Users/katherinewakefield/Library/Application Support/Brackets/extensions/user/brackets-bower-0.2.2-logger/node/node_modules/bower/lib/util/createError.js:4:15) at GitHubResolver.GitResolver (/Users/katherinewakefield/Library/Application Support/Brackets/extensions/user/brackets-bower-0.2.2-logger/node/node_modules/bower/lib/core/resolvers/GitResolver.js:34:15) at GitHubResolver.GitRemoteResolver (/Users/katherinewakefield/Library/Application Support/Brackets/extensions/user/brackets-bower-0.2.2-logger/node/node_modules/bower/lib/core/resolvers/GitRemoteResolver.js:10:17) at new GitHubResolver (/Users/katherinewakefield/Library/Application Support/Brackets/extensions/user/brackets-bower-0.2.2-logger/node/node_modules/bower/lib/core/resolvers/GitHubResolver.js:12:23) at /Users/katherinewakefield/Library/Application Support/Brackets/extensions/user/brackets-bower-0.2.2-logger/node/node_modules/bower/lib/core/resolverFactory.js:24:16 at /Users/katherinewakefield/Library/Application Support/Brackets/extensions/user/brackets-bower-0.2.2-logger/node/node_modules/q/q.js:1142:26 at _fulfilled (/Users/katherinewakefield/Library/Application Support/Brackets/extensions/user/brackets-bower-0.2.2-logger/node/node_modules/q/q.js:787:54) at self.promiseDispatch.done (/Users/katherinewakefield/Library/Application Support/Brackets/extensions/user/brackets-bower-0.2.2-logger/node/node_modules/q/q.js:816:30) at Promise.promise.promiseDispatch (/Users/katherinewakefield/Library/Application Support/Brackets/extensions/user/brackets-bower-0.2.2-logger/node/node_modules/q/q.js:749:13) at /Users/katherinewakefield/Library/Application Support/Brackets/extensions/user/brackets-bower-0.2.2-logger/node/node_modules/q/q.js:509:49 2015-03-13 23:48:45.894NodeDebugUtils.js:117 [node-log 11:48:45 PM] [31m[2015-03-13 23:48:45.892] [ERROR] brackets-bower - [39m[list command] 2015-03-13 23:48:45.896NodeDebugUtils.js:117 [node-log 11:48:45 PM] [31m[2015-03-13 23:48:45.894] [ERROR] brackets-bower - [39m{ [Error: spawn ENOENT] code: 'ENOENT', errno: 'ENOENT', syscall: 'spawn' } Error: spawn ENOENT at errnoException (child_process.js:980:11) at Process.ChildProcess._handle.onexit (child_process.js:771:34) 2015-03-13 23:49:57.490NodeDebugUtils.js:117 [node-log 11:49:57 PM] [31m[2015-03-13 23:49:57.487] [ERROR] brackets-bower - [39m[install command] 2015-03-13 23:49:57.493NodeDebugUtils.js:117 [node-log 11:49:57 PM] [31m[2015-03-13 23:49:57.490] [ERROR] brackets-bower - [39m{ [Error: git is not installed or not in the PATH] code: 'ENOGIT', data: { endpoint: { name: 'foundation', source: 'zurb/bower-foundation', target: '*' } } } Error: git is not installed or not in the PATH at createError (/Users/katherinewakefield/Library/Application Support/Brackets/extensions/user/brackets-bower-0.2.2-logger/node/node_modules/bower/lib/util/createError.js:4:15) at GitHubResolver.GitResolver (/Users/katherinewakefield/Library/Application Support/Brackets/extensions/user/brackets-bower-0.2.2-logger/node/node_modules/bower/lib/core/resolvers/GitResolver.js:34:15) at GitHubResolver.GitRemoteResolver (/Users/katherinewakefield/Library/Application Support/Brackets/extensions/user/brackets-bower-0.2.2-logger/node/node_modules/bower/lib/core/resolvers/GitRemoteResolver.js:10:17) at new GitHubResolver (/Users/katherinewakefield/Library/Application Support/Brackets/extensions/user/brackets-bower-0.2.2-logger/node/node_modules/bower/lib/core/resolvers/GitHubResolver.js:12:23) at /Users/katherinewakefield/Library/Application Support/Brackets/extensions/user/brackets-bower-0.2.2-logger/node/node_modules/bower/lib/core/resolverFactory.js:24:16 at /Users/katherinewakefield/Library/Application Support/Brackets/extensions/user/brackets-bower-0.2.2-logger/node/node_modules/q/q.js:1142:26 at _fulfilled (/Users/katherinewakefield/Library/Application Support/Brackets/extensions/user/brackets-bower-0.2.2-logger/node/node_modules/q/q.js:787:54) at self.promiseDispatch.done (/Users/katherinewakefield/Library/Application Support/Brackets/extensions/user/brackets-bower-0.2.2-logger/node/node_modules/q/q.js:816:30) at Promise.promise.promiseDispatch (/Users/katherinewakefield/Library/Application Support/Brackets/extensions/user/brackets-bower-0.2.2-logger/node/node_modules/q/q.js:749:13) at /Users/katherinewakefield/Library/Application Support/Brackets/extensions/user/brackets-bower-0.2.2-logger/node/node_modules/q/q.js:509:49

On Mar 13, 2015, at 11:12 PM, Albertina Durante [email protected] wrote:

Could you please load this https://drive.google.com/file/d/0B2qjL2i00DnjM3FCYlNfSl9lZmM/view?usp=sharing version of the extension? Just in case, make sure to uninstall the previous version. This version only add a logger to the node domain, you can try adding a bower.json file to your project, add some dependencies to install, then run install from the extension panel and wait until it fails. Then, after failing to installing the packages, go to your user home directory, and it should be there the file brackets-bower.log. Please share the content with me. If that file wasn't created, open CDT on brackets and paste the output here.

Thanks!

— Reply to this email directly or view it on GitHub https://github.com/albertinad/brackets-bower/issues/45#issuecomment-79766264.

awakekat avatar Mar 14 '15 03:03 awakekat

mmm good, just one more time, but with this package. Remove manually the previous version installed, and please, before opening brackets, open a terminal and run bower cache clean. After the error let me see the console output. Sorry to keep you with this, but I'm not able to reproduce it :( and I want to help you.

albertinad avatar Mar 14 '15 04:03 albertinad

Hi @awakekat any news related to this path problem? do you still have this issue?

albertinad avatar Apr 22 '15 05:04 albertinad

Yes, that I can duplicate the same problem on windows too.

Sent from my iPhone

On Apr 22, 2015, at 1:56 AM, Albertina Durante [email protected] wrote:

Hi @awakekat any news related to this path problem? do you still have this issue?

— Reply to this email directly or view it on GitHub.

awakekat avatar Apr 22 '15 11:04 awakekat