Ng build --prod not working in Ionic3 Electron

Respected community, I’m trying to make Desktop app using Electron from Ionic project and following this guide Desktop App Ionic Electron but facing some errors in making build using Angular command.

Node version 10, npm 6.1.0, Angular Cli 7.1

Error
Capture