Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Can't install extensions in Brackets only Manually #4688

Closed
jerrymed opened this issue Aug 7, 2013 · 37 comments
Closed

Can't install extensions in Brackets only Manually #4688

jerrymed opened this issue Aug 7, 2013 · 37 comments
Assignees

Comments

@jerrymed
Copy link

jerrymed commented Aug 7, 2013

I've been having an issue with installing extensions since Sprint 27, where I can't install from URL, nor can I from the Extension Browser now in S28.

I've tried reinstalling fresh, erasing cache, erasing cache and installing clean, etc..
Nothing. Any recomendations?

brackets

@peterflynn
Copy link
Member

@jerrymed If you open the dev tools afterward (Debug > Show Developer Tools), what do you see in the console?

@jerrymed
Copy link
Author

jerrymed commented Aug 7, 2013

Nothing, a black bar that says "detached from the target"

(Thanks for the Quick reply btw)

brackets2

@peterflynn
Copy link
Member

This means you have either quit Brackets already, or you already have developer tools opened in another tab. To avoid both of those problems, click Debug > Show Developer Tools the moment you launch Brackets, then leave that tab open. When you see the "Installation failed" dialog, switch back to that tab and look at the console.

@jerrymed
Copy link
Author

jerrymed commented Aug 7, 2013

Same thing s:
Closed brackets and all instances of Chrome. Did as you mentioned, and from the start it said Detached from target. Still preceded with trying to install an extension, with no luck s:

brackets3

@peterflynn
Copy link
Member

If you launch Brackets and then manually go to http://localhost:9234/ in Chrome, what do you see?

@jerrymed
Copy link
Author

jerrymed commented Aug 7, 2013

Closed Brackets and reopened, had Chrome closed just in case as well.
Typed in the address you told me, and I see the link to the file I had last opened.

Tried to install an ext again just to see if anything changed in chrome, but remained the same.

brackets3

@peterflynn
Copy link
Member

@jerrymed Ok, do that again except when you bring up http://localhost:9234, click that link. It should open the dev tools and there should be no "detached from target" message. Then look in the Console tab of the dev tools while you're trying to install an extension.

@jerrymed
Copy link
Author

jerrymed commented Aug 7, 2013

Just did that right now. And it went from a grey bar, to the black bar "Detached from the target" s:
Is there a way to erase all trace of Brackets and start again?

But of course, if all this if helpful for you guys, I'm more than glad to help.

@zaggino
Copy link
Contributor

zaggino commented Aug 7, 2013

@peterflynn I have the same issue, when in work where windows authentication proxy is used. The console is not showing any issues.

@zaggino
Copy link
Contributor

zaggino commented Aug 7, 2013

This might be an issue with HTTPS protocol, because our proxy is decrypting the traffic, we need to use git config http.sslVerify false in git to access github. Is there an option to use HTTP instead of HTTPS to access extensions?

@peterflynn
Copy link
Member

@jerrymed So you're saying that when you click the link (like the one in your screenshot above), you see the dev tools start to load, and then without you touching anything else the "detached" message appears spontaneously? If that's the case it sounds like there may be some sort of firewall software on your computer that's being overzealous about blocking socket connections. That could certainly interfere with downloading & installing extensions too (and it probably breaks Live Preview entirely). If you're aware of any software like that, can you try disabling it temporarily and see if that fixes the problem?

@peterflynn
Copy link
Member

@zaggino I think you're in luck! As a hack, try this:

  1. Go to your install directory and open www/config.json
  2. Change the extension_url property to use http
  3. Restart Brackets and see if installing works

@zaggino
Copy link
Contributor

zaggino commented Aug 8, 2013

@peterflynn yes, that worked for me, thanks.

@jerrymed
Copy link
Author

jerrymed commented Aug 8, 2013

@peterflynn Funny thing is, Live Preview works perfectly S:
But yes, just as you said, it goes automatically into "detached" out of the blue after a few secs from pressing the link.

I'll try the solution you gave @zaggino --

Didn't work either. I'll just stick to installing manually. Strange how this happened.

@ghost ghost assigned peterflynn Aug 8, 2013
@pthiess
Copy link
Contributor

pthiess commented Aug 8, 2013

@peterflynn for further investigation. Low priority.

@jerrymed
Copy link
Author

jerrymed commented Aug 9, 2013

Seems I'm not the only one with this problem in the office, I guess it is a firewall we have no access to.
So that's that. thanks and sorry if I wasted your time.

@jerrymed jerrymed closed this as completed Aug 9, 2013
@bogdan-kulynych
Copy link

I have exactly the same problem on my Ubuntu 13.04. No firewalls, no proxies, Brackets installation directory owned by my user. Launching Brackets with root privileges doesn't help as well.

@metalbrick
Copy link

Using Ubuntu 13.04, same problem with me.
Start bracket in console, giving the output as follow:

ATTENTION: default value of option force_s3tc_enable overridden by environment.
[0820/192013:ERROR:browser_main_loop.cc(211)] GLib: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Operation not supported

@jerrymed jerrymed reopened this Aug 20, 2013
@jasonsanjose
Copy link
Member

@bogdan-kulynych and @metalbrick we don't support the Extension Manager on linux yet. It's coming though. See #4772 and adobe/brackets-shell#278.

@peterflynn
Copy link
Member

See also similar problem in this forum thread: https://groups.google.com/forum/#!topic/brackets-dev/qIF0n5BMmqI

@ToucheSir
Copy link

I have a similar problem with not being able to install extensions on Windows, but this only surfaced in sprint 36. Tried uninstalling and reinstalling, as well as changing extension_url in config.json, but to no avail. Oddly enough, reverting to sprint 35 works like a charm....

@gnetsys
Copy link

gnetsys commented Feb 24, 2014

I had a similar issue, its working fir me with elevated previledeges (run as admin).

@peterflynn
Copy link
Member

@ToucheSir Are you on Windows XP? Sprint 36 has a known issue with installing extensions on XP...

@gnetsys Do you have any sort of firewall or network security software running on your machine? If so, can you try disabling it temporarily to see if Brackets works when run normally (non-admin)?

@ToucheSir
Copy link

Yep, stuck on XP for the time being. Removing the offending file watcher binary as mentioned in another issue (forget which one) solved the issue. Looking forward to #7200 :)

@peterflynn
Copy link
Member

Closing -- @ToucheSir's case was a known issue that was fixed in Sprint 37. The earlier reports after this was reopened are all on Linux, where Extension Manager wasn't supported at the time (already fixed now).

@gnetsys If you're still seeing the problems you mentioned can you open a new issue with more details about what security/firewall software is installed on your machine?

@carvajalluis
Copy link

I can't install any extension through extension manager, can't open dev tools on chrome so no message either than google error. I'm on macosx mavericks
captura de pantalla 2014-05-20 a la s 00 03 25
I don't know how to install manually and don't wanna go through the hazel of 6 extension installations, also url install won't work.

how can i fix this? already erased library/ application support/brackets and its the same issue , either sprint 38 or 39.

@hotcoder
Copy link

hotcoder commented Jun 2, 2014

Same issue Not able to install extension in the office network , even changed to extension_url protocol to http , their should some option of installing from the "download extension .zip file and install extension from downloaded zip file"

@peterflynn
Copy link
Member

@hotcoder That is currently tracked by 'Install Extension from Zip File on Disk' on our backlog -- please upvote to help raise its importance.

@luigilabel I'm not sure how your screenshot is connected to the issue you're describing. Did you try to select Debug > Show Developer Tools for some reason? You shouldn't need to... If your Internet access requires a proxy server, you can use the proxy preference to get extension downloading working. Otherwise, please file a new bug with more details on your networking setup so we can try to diagnose.

@stevebrush
Copy link

The problem for me was in my hosts file. Make sure you haven't tampered with localhost...

@carvajalluis
Copy link

ok, i did a clean installation of mavericks, then installed brackets then I couldn't get any extension, the same freaking installation error: unknown error (but in spanish) :
captura de pantalla 2014-06-03 a la s 20 40 52

then I read around here to click Show Dev Tools and see the error but this is the result :
captura de pantalla 2014-06-03 a la s 20 43 52
Other than that I tried to add a proxy with no success neither i could install them manually because it seams such a pain in the ass compared to just doing click you know? I miss my brackets working properly, it used to be my whole dev environment.

I'm using preinstalled apache on mac os and mysql from oracle community bundle.

@ruicaramalho
Copy link

I found a solution to this error "instalation failed".
In my case I use a proxy and I have a windows 7.

Somehow the machine was trying to get the "localhost" from the proxy!!.

On the dev-tools there was an error "'ws://localhost:", node.js was not working.
I added the localhost exception to my pac file (http://en.wikipedia.org/wiki/Proxy_auto-config).

By the way, I also have exceptions to ".github.com" and ".amazonaws.com".

For those who do not have a pac or wpad file you may try use the old host file (I've not tried that).

@MedhatAbdrahman
Copy link

@peterflynn changing the extension url to use http instead of https in the config.json works for me, thanks alot

@KamniSoulimane
Copy link

changing the extension url to use http instead of https in the config.json works for me, thanks alot

@kingros
Copy link

kingros commented Jul 29, 2016

open brackets with a command in ubuntu for activate extension
sudo open brackets

@ghost
Copy link

ghost commented Nov 27, 2016

Hi, im from Uruguay, i sorry my english.

I have the same problem, in the console said Unknown installation error extensionManager domain is undefined this happens when i want to installl extencion.. Gracias!

PD: I noob in the house jaja

@Roshanarr
Copy link

getting this error in developer tools

ParsingError
/preferences/PreferencesManager.js:351
Error while converting com.adobe.brackets.view/ViewCommandHandlers /preferences/PreferencesManager.js:350
ParsingError
/preferences/PreferencesManager.js:351
Error while converting com.adobe.brackets.utils/UpdateNotification /preferences/PreferencesManager.js:350
ParsingError
/preferences/PreferencesManager.js:351
Error while converting com.adobe.brackets.project/WorkingSetSort /preferences/PreferencesManager.js:350
ParsingError
/preferences/PreferencesManager.js:351
Error while converting com.adobe.brackets.LiveDevelopment/main /preferences/PreferencesManager.js:350
ParsingError
/preferences/PreferencesManager.js:351
Error while converting com.adobe.brackets.search/FindBar /preferences/PreferencesManager.js:350
ParsingError
/preferences/PreferencesManager.js:351
Error while converting com.adobe.brackets.language/CodeInspection /preferences/PreferencesManager.js:350
ParsingError
/preferences/PreferencesManager.js:351
Error while converting com.adobe.brackets.RecentProjects/main.js /preferences/PreferencesManager.js:350
ParsingError
/preferences/PreferencesManager.js:351
Error while converting com.adobe.brackets.QuickView/main.js /preferences/PreferencesManager.js:350
ParsingError
/preferences/PreferencesManager.js:351
Failed to load resource file:///home/mistral/.config/Brackets/extensions/user/brackets-emmet/node_modules/emmet/lib/emmet.js
Failed to load resource file:///home/mistral/.config/Brackets/extensions/user/brackets-emmet/node_modules/emmet/lib/assets/resources.js
Failed to load resource file:///home/mistral/.config/Brackets/extensions/user/brackets-emmet/node_modules/emmet/lib/action/main.js
[Extension] failed to load /home/mistral/.config/Brackets/extensions/user/brackets-emmet - Module does not exist: file:///home/mistral/.config/Brackets/extensions/user/brackets-emmet/node_modules/emmet/lib/emmet.js /utils/ExtensionLoader.js:220
Failed to load resource file:///home/mistral/.config/Brackets/extensions/user/brackets-emmet/node_modules/emmet/lib/snippets.json
Failed to load resource file:///home/mistral/.config/Brackets/extensions/user/brackets-emmet/node_modules/emmet/lib/caniuse.json
Failed to load resource file:///home/mistral/.config/Brackets/extensions/user/brackets-emmet/node_modules/emmet/lib/plugin/file.js
Failed to load resource file:///home/mistral/.config/Brackets/extensions/user/brackets-emmet/node_modules/emmet/lib/utils/common.js
Failed to load resource file:///home/mistral/.config/Brackets/extensions/user/brackets-emmet/node_modules/emmet/lib/utils/editor.js
Failed to load resource file:///home/mistral/.config/Brackets/extensions/user/brackets-emmet/node_modules/emmet/lib/utils/action.js
Failed to load resource file:///home/mistral/.config/Brackets/extensions/user/brackets-emmet/node_modules/emmet/lib/assets/tabStops.js
Failed to load resource file:///home/mistral/.config/Brackets/extensions/user/brackets-emmet/node_modules/emmet/lib/assets/range.js
Failed to load resource file:///home/mistral/.config/Brackets/extensions/user/brackets-emmet/node_modules/emmet/lib/assets/htmlMatcher.js
Failed to load resource file:///home/mistral/.config/Brackets/extensions/user/brackets-emmet/node_modules/emmet/lib/parser/abbreviation.js
Failed to load resource file:///home/mistral/.config/Brackets/extensions/user/brackets-emmet/node_modules/emmet/lib/action/updateTag.js
Fail to nomalize Cmd-Shift-] /command/KeyBindingManager.js:578
Fail to nomalize Cmd-Shift-[ /command/KeyBindingManager.js:578
NodeSocketTransport - start /LiveDevelopment/MultiBrowserImpl/transports/NodeSocketTransport.js:84
Failed to load resource https://s3.amazonaws.com/extend.brackets/registry.json?_=1482822804050

@ficristo
Copy link
Collaborator

The original issue was about something else, so locking to avoid spam on old issue.
If you still have problems please open a new issue.

@adobe adobe locked and limited conversation to collaborators Dec 27, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests