resumake.io icon indicating copy to clipboard operation
resumake.io copied to clipboard

Issue with local copy

Open higheredd opened this issue 4 years ago • 9 comments

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)

higheredd avatar Jul 26 '21 12:07 higheredd

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

saadq avatar Jul 26 '21 19:07 saadq

I followed these steps:

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

Bipinjot avatar Jul 29 '21 09:07 Bipinjot

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 avatar Jul 30 '21 02:07 saadq

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

saadq avatar Aug 03 '21 20:08 saadq

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

higheredd avatar Aug 04 '21 07:08 higheredd

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

firmprojects avatar Aug 07 '21 20:08 firmprojects

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

saadq avatar Aug 10 '21 22:08 saadq

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.

AlbyTree avatar Oct 01 '23 17:10 AlbyTree