Closed andreElrico closed 2 years ago
If you create an assets folder under src it will also work. I ran into this error as well.
that was my first guess, however after creating that folder I got a "glob-somepath-error". Maybe I did something wrong 😋 ...
I'm on NX 13.7.2 using https://github.com/Instra-AI/nx-electron which is a fork.
All I just changed generate-package-json.ts to use @nrwl/devkit, and upgraded webpack/types. I did initially get that error (as well as not having electron-builder). But I created the assets folder and I've been able to build, package, and make my project. Not sure if what I did solved the "glob-somepath-error" or not, but I didn't see it.
If you create an assets folder under src it will also work. I ran into this error as well.
@andreElrico does that fix the issue?
I have used my workaround. It was sufficient for me. Have not tried anything else.
fixed on 12.1.0
Describe the bug running
nx run counter-electron:build
lead to error:ENOENT: no such file or directory, stat 'C:\Users\XXXX\Entwicklung\pid\apps\myElectronApp\src\assets'
i have deleted the the path in assets in build.options and it successfuly build the app.