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

Cannot run in production mode #73

Closed
DoshinNelson opened this issue Jun 5, 2020 · 2 comments
Closed

Cannot run in production mode #73

DoshinNelson opened this issue Jun 5, 2020 · 2 comments

Comments

@DoshinNelson
Copy link

Hi all,
I have a small piece of code that runs in development mode, but when running in production the following line gives an error. Is this related to Mac permissions on Catalina?
var active = (await activeWin())

Gives >
child_process.js:308 Uncaught (in promise) Error: Command failed: /Applications/electron-webpack-quick-start.app/Contents/Resources/app.asar.unpacked/node_modules/active-win/main

Thanks a lot

@sindresorhus
Copy link
Owner

You’re not packing your Electron app correctly. This is not the place to ask for support for that.

@EasonChang0115
Copy link

i am also have this problem. have any solution here?

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

3 participants