Create the nx workspace npx create-nx-workspace@latest
Add the necessary plugins
npm i -D @nrwl/react
npm i -D nx-electron
Create apps
ng g @nrwl/react:application
nx g nx-electron:application
Run the application using this command nx run-many --target=serve --projects=school,school-desk --parallel
Expected behavior
Run the desktop app
System :
OS: fedora 35
Nx Electron Version (nx = 13.4.5, nx-electron=11.4.1 )
Node version v14.17.6
Error
Trying to run the electron app using this command nx run-many --target=serve --projects=school,school-desk --parallel and got the following error.
Steps to reproduce the behavior:
npx create-nx-workspace@latest
npm i -D @nrwl/react
npm i -D nx-electron
ng g @nrwl/react:application
nx g nx-electron:application
nx run-many --target=serve --projects=school,school-desk --parallel
Expected behavior Run the desktop app
System :
fedora 35
13.4.5
, nx-electron=11.4.1
)v14.17.6
Error Trying to run the electron app using this command
nx run-many --target=serve --projects=school,school-desk --parallel
and got the following error.nx run-many --target=serve --projects=school,school-desk --parallel
———————————————————————————————————————————————
Entrypoint main [big] 1.62 MiB (1.89 MiB) = runtime.js 50 KiB vendor.js 1.51 MiB main.js 61.8 KiB 3 auxiliary assets Entrypoint polyfills [big] 746 KiB (907 KiB) = runtime.js 50 KiB polyfills.js 696 KiB 2 auxiliary assets Entrypoint styles [big] 430 KiB (534 KiB) = runtime.js 50 KiB styles.css 399 bytes styles.js 380 KiB 2 auxiliary assets chunk (runtime: runtime) main.js (main) 52.3 KiB [initial] [rendered] chunk (runtime: runtime) polyfills.js (polyfills) 651 KiB [initial] [rendered] chunk (runtime: runtime) runtime.js (runtime) 33.7 KiB [entry] [rendered] chunk (runtime: runtime) styles.css, styles.js (styles) 363 KiB (javascript) 398 bytes (css/mini-extract) [initial] [rendered] chunk (runtime: runtime) vendor.js (vendor) (id hint: vendor) 1.48 MiB [initial] [rendered] split chunk (cache group: vendor) (name: vendor) webpack compiled successfully (af40565a0bcb454e) No issues found.