adobe / brackets

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
33.25k stars 7.63k forks source link

Extension Install Errors... weird and possibly self-correcting bug #13696

Open ludasmokva opened 7 years ago

ludasmokva commented 7 years ago

Prerequisites

Extension install error - maybe self-corrects

I would not say this is a bug so much as this is 'buggy'. I viewed other similar issues but none (that I noted) are quite like this.

Steps to Reproduce

  1. I attempt to install extension via extension manager. The install takes a little longer than normal (only a few seconds but that is the first clue - I can pinpoint that an error will show up in this manner.)

Expected behavior: : 2-3 seconds wait and window: Installation Successful.

Actual behavior:: 6-7 seconds wait and window: Installation failed. The extension encountered an error when starting up. (see IMG. ExtInstallError-1)

OTHER NOTES:

I do not know if the extensions actually work yet as I have just installed Brackets, but there is no reason to think they don't - shortcuts are visible on the screen. It is like it self-corrects and something is blocking it from finishing the install and that's what the error refers to. No firewall or antivirus issues that I can find. Like I said, I think it self-corrects, but it is buggy. I wanted to bring notice to you, but perhaps this will help others that are experiencing similar issues.

OS and what version: Win 7 Ultimate 64-bit Brackets version: Release 1.10 build 1.10.0-17483 (release 024bee940)

Here are images of the info described above: extinstallerror-1 extinstallerror-2 extinstallerror-3

petetnt commented 7 years ago

Thanks for reporting this @ludasmokva, do let us know if you find a way to repro this succesfully. Meanwhile lets keep this issue open if someone runs into the same issue

ludasmokva commented 7 years ago

Update: Soooo.... I'm kind of thinking that those installs did not really self-correct after all. I'm getting numerous debugs, warnings and errors in my console. Before I (accidentally) cleared everything, I had about 150. But no worries... they are still popping up so its not like I'm likely to forget them. They range from various & numerous 'possible memory leaks' to 'cannot assign' issues to 'deprecated' events to 'Failed to normalize Cmd-Shift-]' to 'Can't track online status' and quite frankly, so many others that it just does not make sense to list them all. I tried to reinstall, but it didn't work. Issues still existed. It could be a specific extension (I installed about 25) or it could be an interaction between extensions. That seems likely. Many of them are buggy. And that would explain why a reinstall did not work as the reinstall doesn't erase those extensions.
Example of extension issue: My outline has two toggle buttons both of which seem to initiate different and non-consistent actions; I can't get settings or the other mini-icons (on outline toolbar) to work as they just don't register as even existing; I may as well be trying to click onto an empty canvas for all the reaction I get.

There is some good news; through my debugging efforts I discovered something that may help some people who are having issues with live preview. Mine wasn't working either. Changing html info did not automatically translate to the browser; I had to save and press the lightning bolt again. If that's happening to anyone else, check to see if you are accessing your file through a 'Library' path. If you are, try accessing it directly, through Users path. When I did that, the live preview worked perfectly.

In any case, I guess I am going to have to fully uninstall Brackets and all of the extensions. Hopefully I can do so without remnants remaining. I really like the program and the extension concepts are really great so I am going to try a clean reinstall and really limit the extensions and maybe keep track of what I install and in what order to see if I can identify the problem and maybe stop it sooner. I hope it works as I am way too busy to spend much more time on this. I may just go back to Notepad++ which is really a great editor anyway. But Brackets has great potential and I would love to be able to support it.

ludasmokva commented 7 years ago

Update of Update! Just FYI, reinstalled a 'clean' Brackets and everything works fine. Was much more careful with add-ons I chose and have not had one repeat of above issue. Lessons:

  1. If you're experiencing above problems, remove extension immediately. Check to see if you have similar extension already installed (ie. two or more colour ext etc...) or some that may overlap (ie. with Emmett)
  2. Avoid extensions with old open issues. They are probably not being updated and may be causing the problem.
  3. Not certain, but I do believe the following extensions may be causing conflict: Switch Sidebar (2); Code Outline; Colors++ Note that I am not saying these extensions are bad, but rather that they may be interacting badly with other extensions. So install them with care, or try disabling them first in case of issues. I do believe 2 or 3 others are also an issue but simply do not have the time to test them all.

Thanks! Hope this helps someone.

mehdichemaa commented 5 years ago

Hello team, I have solved this issue only by removing some old extensions!

I hope my solution would help you :)