Electron manager could not start all worker


I want to create a pdf from my html page (or call it browser window). I have used electron-html-to plugin for that and this plugin is using phantomjs in background and phantomjs using worker to complete the task. This plugin works fine in my development environment but once I create the .exe of electron application then it will give error like

Uncaught exeception:
Error: electron manage could not start all workers at startHandler.

I tried doing manual worker but that is also giving me same error.

Any one here have any idea.