Closed IbnAdamnet closed 1 year ago
You have to build each of your projects for production before you package things up.
nx build <frontend-app-name>
nx build <backend-app-name>
nx build <electron-app-name>
<-- This creates the index.js
file that your screenshot is looking fornx run <electron-app-name>:package
after nx run <electron-app-name>:package
I didn't see any binary in dist/apps/myapp/executebales
, what's going on?
after
nx run <electron-app-name>:package
I didn't see any binary indist/apps/myapp/executebales
, what's going on?
:package
doesn't produce anything in dist/apps
. You should see files in dist/packages
. For example, dist\packages\win-unpacked\electron.exe
Please help, I am able to build BUT unable to package or make electron app with the nx-electron. It's seeking out for some "index.js" at dist directory and I can't find where it's configure to look a file not present in the source file. I deleted the NPM node_modules and re-installed but to no avail.
THANKS