Open abmnukmr opened 6 years ago
It sounds like your compiler is removing the node runtime from the files.
running into the same issue with angular 5
importing the plugin like
const ElectronNotifications = (window as any).require('electron-notifications');
worked for me. I guess it is a webpack issue, which i do not completely understand.
Runtime error fs.existsSync is not a function.