Angular 2 + Electron + Angular-CLI

I think time has come to switch from AngularJS to version 2. While there are projects out there which are proof-of-concept that Angular 2 can run in Electron, I have an error which I have yet to find a solution for.

Note: I'm trying to access electron module in renderer by using ng build to compile my project.

The problem

I've made my project using two package.json structure like

Read More