brackets-userland / brackets-git

brackets-git — git extension for adobe/brackets
Other
656 stars 192 forks source link

Extension Error #1329

Closed guiguitcho closed 7 years ago

guiguitcho commented 7 years ago

Hello all I work behind a proxy and I am not able to use the extension manager of Brackets so I manually installed brackets-git (as I did with the other extensions I am working with). Unfortunately, when starting, it shows many errors in the developer tool: image

Any help would be much appreciated ! Thanks a lot in advance

Guillaume

zaggino commented 7 years ago

Hi @guiguitcho , did you run npm install inside the extension directory after installing it manually?

guiguitcho commented 7 years ago

Thanks @zaggino for the tip. I then ran npm install but I got a bunch of error of this kind:

ERROR in ./~/moment/locale/af.js
Module not found: Error: a dependency to an entry point is not allowed
 @ ./~/moment/locale/af.js 7:50-70

Finally I still have errors concerning brackets-git when launching brackets:

Uncaught SyntaxError: Use of const in strict mode. /home/guillaume/.config/Brackets/extensions/user/brackets-git-master/dist/EventEmitter.js:3
Uncaught SyntaxError: Use of const in strict mode. /home/guillaume/.config/Brackets/extensions/user/brackets-git-master/dist/SettingsDialog.js:3
Uncaught SyntaxError: Use of const in strict mode. /home/guillaume/.config/Brackets/extensions/user/brackets-git-master/dist/Main.js:4
Uncaught SyntaxError: Use of const in strict mode. /home/guillaume/.config/Brackets/extensions/user/brackets-git-master/dist/Preferences.js:3
zaggino commented 7 years ago

Use branch 0.x that should be more stable https://github.com/zaggino/brackets-git/tree/0.x

guiguitcho commented 7 years ago

Indeed it works now ! Thanks !!