When i try to import { ipcRenderer } from 'electron'; than add the service to component constructor(private mainService: MainService)
Cant resolve the error in console:
./node_modules/electron/index.js
Module not found: Error: Can't resolve 'fs' in 'D:\ST\angular-cli-electron\node_modules\electron'```
When i try to
import { ipcRenderer } from 'electron';
than add the service to componentconstructor(private mainService: MainService)
Cant resolve the error in console: