I have followed the same steps as in the blog https://jsreport.net/blog/pdf-reports-in-electron-app. I have only added the excel rendering using html-to-xlsx