Generate Pdf Report In Meteor Js
I am very close to generate PDF report in Meteor js which will help many folks out there. My code runs almost till the end, but ends up having error { [Error: ENOENT, open 'report
Solution 1:
Initially I had below meteor packages to create PDF using Phantomjs and display on seperate TAB: [For Meteor version 1.3.2.4]
1. dfischer:phantomjs
2. meteorhacks:ssr
3. jaredmartin:future
4. meteorhacks:npm
5. bryanmorgan:webshot
After hours of debugging, I found out that I had to remove package bryanmorgan:webshot and manually add a package entry for "webshot":"0.15.4" in Project/packages.json file. In short, I had to add npm's webshot into my meteor project.
Then, I had to restart meteor and it worked.
Post a Comment for "Generate Pdf Report In Meteor Js"