-
Notifications
You must be signed in to change notification settings - Fork 446
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
Failed to load pdf file #123
Comments
@fabulousmichael template #6? |
I had an issue where I copied over bullet points (with whitespacing) and I received the same error. I would check your inputs again and make sure everything is plain text. |
Need to install latex first in your local machine to be able to compile: |
I am having the same issue. I have tried MiKTeX but still same. |
@omerfraz Could you share the error message from the terminal where you are running the Resumake server? |
[HPM] Error occurred while trying to proxy request /api/generate/resume from localhost:3000 to [::1]:3001 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors) |
And some tests! FAIL src\tests\api.js (19.65s)
● POST /api/generate/resume should generate a PDF
● POST /api/generate/source should generate a zip of the LaTeX source code
Test Suites: 1 failed, 3 passed, 4 total npm ERR! A complete log of this run can be found in: G:\resumake.io-master> |
And contents of the log 0 info it worked if it ends with ok |
It would be easier to debug this over Slack, and then we can update here when fixed. Could you join the Slack channel and then I can take a look later today or tomorrow. |
Thanks for the invite. I headed over to Slack and checked the issue, its more likely the way we ran the scripts (client and server to run separately in two different command windows
and a change in the client/package.json build was changed to production (was originally development) for making things moving. "build": "cross-env NODE_ENV=production webpack --config webpack.prod.config.js --progress --profile --colors", |
I also have the exact same issue. I have installed latex and confirmed via command line that it works. When I try to 'Make' the PDF, I get this error on the webpage, followed by this error on the terminal
This is limited to template 1, but when I change templates, the errors are similar with different |
@Ars75 Your issue is unrelated to the ones above. The "Failed to load PDF" error shows up on the client whenever there's any server error. What OS are you on? But regardless, there may just be an issue with your installation. If you search for |
I'm currently on Thanks a lot. I did try looking into a few other places on the internet too. The way I got this to work was I had to run the following commands:
it then complained saying
re-ran the resumake script and voila! its working now for template 1. I similarly had to run
to get a few more templates to run |
How did you install latex initially? Did you do it through MacTeX? (https://www.tug.org/mactex/) I think MacTeX is the recommended solution for installing latex on Mac and usually comes with most of those packages installed. |
Yes I installed MacTex first and then tried running the scripts. But now I’m running into Syntax errors for a few templates 😅 while others compile it just fine. Idk why that’s happening though. So will have to look into it next |
I get Failed to load PDF file. I'm on windows10. I'm clicking the Make button to make a PDF. Where do I copy the folder node-latex-master? I pasted it here, C:\test\resumake.io-master\node-latex-master Do I need to do anything else to install node-latex? Do I need to do something with the Usage code, mentioned in the readme.md? Thanks. I have MikTex and TeXWorks installed. Interesting, but I get this error, when import a .json file, which I made on my localhost:3000 on an OpenSuse machine everything worked. For some reason, I got Failed to load when I imported a JSON file that I had just created. But I got it to load the PDF in preview screen and make a PDF resume on the first test. Several times after that, it says Failed to Load PDF. |
Tried making a new CV after putting in details and information and I then click on MAKE, the page comes with an error message saying (Failed to load pdf file).
The text was updated successfully, but these errors were encountered: