Open akuzia opened 8 years ago
Seems like brackets-sass
requires some parts of LiveDevelopment, which are not present in Brackets-Electron.
related to issue https://github.com/zaggino/brackets-electron/issues/25
@zaggino Brackets Beautify is having the same problem since we introduced a fix for Duplication of LiveDevelopment content.
The extension doesn't use the LiveDevelopment so it should work with Brackets-Electron just fine, but requires the "LiveDevelopment/LiveDevelopment"
module which causes an error.
What is the recommended way to solve this?
Is there an isElectron
flag that could be used to require the module conditionally?
@Hirse you could check for existence of window.electron
as I don't think regular Brackets has that one.
Health Report:
{ "uuid": "6e42fd4f-e655-4f36-a85f-064e2af05186", "snapshotTime": 1477320392154, "productName": "Brackets-Electron", "os": "linux", "userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Brackets-Electron/1.8.4 Chrome/52.0.2743.82 Electron/1.3.7 Safari/537.36", "osLanguage": "en", "bracketsLanguage": "en", "bracketsVersion": "1.8.4", "fileStats": { "openedFileExt": { "html": 6 }, "workingSetFileExt": { "html": 1 } }, "ProjectDetails": { "prj929492837": { "numFiles": 2, "cacheSize": 12033 } }, "projectLoadTimes": ":323.120179", "fileOpenTimes": ":782.6006299999999", "ModuleDepsResolved": 2147.236336, "AppStartupTime": 3985.269482, "prefNodeSearchDisabled": false, "prefInstantSearchDisabled": false, "installedExtensions": [ { "name": "brackets-emmet", "version": "1.2.2" }, { "name": "martypenner.autosave-files-on-window-blur", "version": "1.0.6" }, { "name": "jasonsanjose.brackets-sass", "version": "2.0.3-132" }, { "name": "codepen-theme", "version": "1.0.0" } ], "bracketsTheme": "light-theme" }