Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error ENOENT : pokemon-report.pdf !!! #6

Open
mokaid opened this issue Oct 28, 2016 · 2 comments
Open

Error ENOENT : pokemon-report.pdf !!! #6

mokaid opened this issue Oct 28, 2016 · 2 comments

Comments

@mokaid
Copy link

mokaid commented Oct 28, 2016

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

@ryanswapp
Copy link
Owner

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:phantomjsAlso, 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.

@levensailor
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants