bennymeg / nx-electron

Electron schematics for nrwl nx platform
Apache License 2.0
307 stars 82 forks source link

Unable to create an executable file with external dependencies #278

Open MrTob opened 5 months ago

MrTob commented 5 months ago

Hi,

i want to build an executable out of my Project.

my structure looks like this

<workspace name>/
├── apps/
│   ├── electron-app/
│   └── angular-app/
├── libs/
├── tools/
├──native-lib/
│   ├── code.cpp
│   └── native-lib.node
├── nx.json
├── package.json
├── tsconfig.json
└── tslint.json

when i run the project as an dev it works flawless then i want to build a prod App. the make command is executed successfully, but when I try to start the application, I get the error message that the .node Library is is not found

nedex commented 3 months ago

Is the library included in the dependencies part of package.json? Not devDependencies