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

Build Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error #1907

Open
4 tasks done
vernonin opened this issue Oct 30, 2024 · 0 comments · May be fixed by #1912
Open
4 tasks done
Labels
bug Something isn't working

Comments

@vernonin
Copy link

Before you start - checklist

  • I followed instructions in documentation written for my React-PDF version
  • I have checked if this bug is not already reported
  • I have checked if an issue is not listed in Known issues
  • If I have a problem with PDF rendering, I checked if my PDF renders properly in PDF.js demo

Description

The next app project build in the sample directory encountered an error: Error occurred pre rendering page "/" Read more: https://nextjs.org/docs/messages/prerender-error

err

Steps to reproduce

  1. git clone https://github.com/wojtekmaj/react-pdf.git
  2. cd react-pdf-main/sample/next-app
  3. npm run install
  4. npm run build

Expected behavior

next run build success.

Actual behavior

node version: v18.20.4

next run build

Additional information

No response

Environment

  • Browser (if applicable):
  • React-PDF version:
  • React version:
  • Bundler name and version (if applicable):
@vernonin vernonin added the bug Something isn't working label Oct 30, 2024
@nayounsang nayounsang linked a pull request Nov 10, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant