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

CV does not generate #245

Open
GurdipS5 opened this issue Jun 10, 2024 · 5 comments
Open

CV does not generate #245

GurdipS5 opened this issue Jun 10, 2024 · 5 comments
Labels
to refine Issue waits for review from project maintainters

Comments

@GurdipS5
Copy link

Describe the bug
Running the generate-pdf command runs indefinitely.

To Reproduce
Steps to reproduce the behavior:

Execute npm run generate-pdf

[email protected] generate-pdf
ts-node scripts/generate-pdf.ts

D:\Repositories\Portfolio\pages\node_modules\puppeteer-core\src\util\Deferred.ts:34
this.reject(new TimeoutError(opts.message));
^
TimeoutError: Navigation timeout of 30000 ms exceeded
at Timeout. (D:\Repositories\Portfolio\pages\node_modules\puppeteer-core\src\util\Deferred.ts:34:25)
at listOnTimeout (node:internal/timers:569:17)
at processTimers (node:internal/timers:512:7)

Expected behavior
The command finishes and cv generated.

Screenshots
If applicable, add screenshots to help explain your problem.

Version:
0.3.0

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@GurdipS5 GurdipS5 added the to refine Issue waits for review from project maintainters label Jun 10, 2024
@CaptainObjective
Copy link
Collaborator

Hi @GurdipS5 I was not able to reproduce this error. Could you please provide the exact versions of node and npm you are using?

@GurdipS5
Copy link
Author

GurdipS5 commented Jun 24, 2024 via email

@GurdipS5
Copy link
Author

GurdipS5 commented Jul 9, 2024 via email

@CaptainObjective
Copy link
Collaborator

Most testing/ development was done on Mac. I can confirm it also does work on WSL/Ubuntu. On Windows I am able to reproduce the error but it is very inconsistent, sometimes it works and generates PDF, sometime it doesn't 😕. I checked couple of nodejs version and this issue seems to be present in all recent versions. I figured the problem must be with how child process is spawned in nodejs on Windows but I am kinda stuck there.

@GurdipS5
Copy link
Author

GurdipS5 commented Jul 13, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to refine Issue waits for review from project maintainters
Projects
None yet
Development

No branches or pull requests

2 participants