Problems with the electron. Don't add all necessary files


I use the electron. When I’m running the application through the chrome, everything works fine (“ng serve”) and all the files loads.

But if I run the application through an electron (“ng build -prod && electronic.”) half of the files are not added to the application, and I get an error.

How to determine why the necessary files are not added to the electron app and how to fix it?

[](http://My test app)