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

Issue with local copy #171

Open
higheredd opened this issue Jul 26, 2021 · 8 comments
Open

Issue with local copy #171

higheredd opened this issue Jul 26, 2021 · 8 comments

Comments

@higheredd
Copy link

Hi!

I cloned the project and ran it on my local machine. However, on clicking "Make" button, the error pops up.
image

Console:
(The application runs on port 3000)

Error occurred while trying to proxy request /api/generate/resume from localhost:3000 to http://localhost:3001 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors)

@saadq
Copy link
Owner

saadq commented Jul 26, 2021

How did you start the application? It seems like just the client is running and not the server.

@Bipinjot
Copy link

Bipinjot commented Jul 29, 2021

I followed these steps:

  1. npm Install
  2. Npm start
    I have the same issue.

@saadq
Copy link
Owner

saadq commented Jul 30, 2021

Which folder did you run that in? From your comment I'm guessing that you ran that inside just the app/client folder so only the client is running and not the server.

If you haven't already, please check out the Setting Up guide. But basically the simplest way to setup and run both the client and server:

  1. Clone the repo
  2. Run npm run build from the root directory
  3. Run npm start from the root directory

@saadq
Copy link
Owner

saadq commented Aug 3, 2021

Hey @Bipinjot and @higheredd can you let me know if you've tried the instructions I mentioned above?

@higheredd
Copy link
Author

Hi @saadq
I ran the commands in the root directory. The issue persists. I'm trying different things.

@firmprojects
Copy link

Facing exact same issue. I followed @saadq instruction above, but the error still persist.

@saadq
Copy link
Owner

saadq commented Aug 10, 2021

Hey all, sorry to hear you guys are facing issues...

One other thing to try – Can you try to individually run the client and server?

  1. Run npm start inside app/client in one terminal window
  2. Run npm start inside app/server in one terminal window

@AlbyTree
Copy link

AlbyTree commented Oct 1, 2023

I have the same issue.
If I run the client and the server, I get this with Template1

  Error: LaTeX Syntax Error
  ! LaTeX Error: File `article.cls' not found.
  Enter file name:     \usepackage{amsmath}
  ! Undefined control sequence.
  \filename@simple ...t \relax \edef \filename@base
  !  ==> Fatal error occurred, no output PDF file produced!
      at ReadStream.<anonymous> (C:\Users\albyp\resumake\resumake.io\app\server\node_modules\node-latex\index.js:60:21)
      at ReadStream.emit (node:events:517:28)
      at ReadStream.emit (node:domain:489:12)
      at endReadableNT (node:internal/streams/readable:1368:12)
      at processTicksAndRejections (node:internal/process/task_queues:82:21)

and this with the other templates (only the "I can't find file" parts change)

  Error: LaTeX Syntax Error
  ! I can't find file `'.
  ! I can't find file `'.
  ! I can't find file `\begin{document}'.
  ! I can't find file `\begin{document}'.
  ! I can't find file `\namesection{Your}{Name}{}'.
  ! I can't find file `\namesection{Your}{Name}{}'.
  ! I can't find file `\namesection{Your}{Name}{}'.
  ! I can't find file `\namesection{Your}{Name}{}'.
  ! I can't find file `\namesection{Your}{Name}{}'.
  ! I can't find file `\namesection{Your}{Name}{}'.
  ! I can't find file `\'.
  ! I can't find file `\end{document}'.
  ! Emergency stop.
      at ReadStream.<anonymous> (C:\Users\albyp\resumake\resumake.io\app\server\node_modules\node-latex\index.js:60:21)
      at ReadStream.emit (node:events:517:28)
      at ReadStream.emit (node:domain:489:12)
      at endReadableNT (node:internal/streams/readable:1368:12)
      at processTicksAndRejections (node:internal/process/task_queues:82:21)

I'm on Windows 10, I installed NodeJs 18.18.0 (npm 9.8.1) and TinyTeX for Windows with the packages listed in the main branch guide.
I'm on the v2-(old) branch.

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

5 participants