RSVP promise module in electron


Hi there

I am trying to create an app with electron for windows which require async i/o operations. Using RSVP promise module. App works alright from console but when i package it with electron-packager the compiled app stops when it reaches the first function with a promise. The menu and other keyboard shortcuts are also not working(possibly because of the code blocking) so i can not debug?

Any advice?


Have you got the module in your package.json as a project dependency?

Also, if you’re using an up-to-date version of Electron, Promises come as standard in Node, so if that’s all you’re using the module for, you could go without.


My bad. I was doing something else the wrong way. Promises work now. But i have another problem as well and gonna open another topic for that.