Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style.css not found #54

Open
camhart opened this issue Mar 31, 2020 · 1 comment
Open

style.css not found #54

camhart opened this issue Mar 31, 2020 · 1 comment

Comments

@camhart
Copy link

camhart commented Mar 31, 2020

Electron 8 - Mac OS Catalina (10.15.3) - from the main thread - asar enabled, built using electron-builder

[2020-03-30 20:23:12.350] [info] (32389) Error: ENOENT, style.css not found in /Applications/My.app/Contents/Resources/app.asar
    at createError (electron/js2c/asar.js:111:17)
    at Object.fs.readFileSync (electron/js2c/asar.js:548:24)
    at Object.<anonymous> (/Applications/My.app/Contents/Resources/app.asar/background.js:568:424635)
    at r (/Applications/My.app/Contents/Resources/app.asar/background.js:1:110)
    at click (/Applications/My.app/Contents/Resources/app.asar/background.js:568:453224)
    at MenuItem.click (electron/js2c/browser_init.js:1501:9)
    at Function.executeCommand (electron/js2c/browser_init.js:1762:13)
@danielovadia
Copy link

danielovadia commented Aug 11, 2020

Can be solved by using brfs node module:

brfs node_modules/dialogs/index.js > node_modules/dialogs/index.js2
mv node_modules/dialogs/index.js2 node_modules/dialogs/index.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants