meteor-pdf-tutorial
meteor-pdf-tutorial copied to clipboard
Error ENOENT : pokemon-report.pdf !!!
Hi Ryan ... Development environment is windows I did follow the tutorial step by step but at the last stage I am receiving this error
I20161028-12:59:51.434(4)? { [Error: ENOENT: no such file or directory, open 'C:\meteor\meteor-pdf-tutorial.meteor\local\build\programs\server\pokemon-report.pdf'] I20161028-12:59:51.435(4)? errno: -4058, I20161028-12:59:51.435(4)? code: 'ENOENT', I20161028-12:59:51.436(4)? syscall: 'open', I20161028-12:59:51.436(4)? path: 'C:\meteor\meteor-pdf-tutorial.meteor\local\build\programs\server\pokemon-report.pdf' }
How come the missing file is the file I wanna generate !? Your advice is highly appreciated
Hi!
That error means that the pdf was never created. This is likely a result of Phantom JS not working properly. Are you sure you have added this package? meteor add dfischer:phantomjs
Also, this may be a Windows issue. I know people often have trouble with npm modules on Windows. I work in a Unix environment so I wouldn't be able to help if its related to your dev environment.
I have the same issue
=> App running at: http://localhost:3000/ I20161211-18:17:14.461(-5)? Commencing webshot... I20161211-18:17:14.462(-5)? { [Error: ENOENT, open 'pokemon-report.pdf'] errno: 34, code: 'ENOENT', path: 'pokemon-report.pdf' }
I tried adding phantomjs package and running again with the same result. I am also running a unix environment.
Jeffs-MacBook-Pro:final jlevensailor$ meteor add dfischer:phantomjs dfischer:phantomjs without a version constraint has already been added.