bennymeg / nx-electron

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

Unable to package due to missing package.json #269

Open JanSchuermannPH opened 6 months ago

JanSchuermannPH commented 6 months ago

Describe the bug When trying to package the app after building it, I'm getting the following error: Error: Cannot find package.json in the /Users/username/git/projectRoot/ww-desktop

The project is in an integrated Nx Monorepo

To Reproduce Steps to reproduce the behavior:

  1. nx run-many -t build -p ww-backend ww-frontend
  2. nx build ww-desktop
  3. nx run ww-desktop:package
  4. See error

Expected behavior The app can be packaged

Desktop (please complete the following information):