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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[馃悰 Bug]: Monorepo with Turborepo build error in Pages CI #731

Open
1 task done
rafael-franca opened this issue Apr 5, 2024 · 0 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@rafael-franca
Copy link

rafael-franca commented Apr 5, 2024

next-on-pages environment related information

System:
        Platform: darwin
        Arch: arm64
        Version: Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:41 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T8103
        CPU: (8) arm64 Apple M1
        Memory: 8 GB
        Shell: /bin/zsh
Package Manager Used: bun (1.0.19)

Relevant Packages:
        @cloudflare/next-on-pages: 1.11.0
        vercel: N/A
        next: N/A

Description

I`m trying to deploy a project using Pages CI, however I have an error related to generation of 500 error pages.

When I tried build in local and deploy using wrangler I have success.

Reproduction

No response

Pages Deployment Method

Pages CI (GitHub/GitLab integration)

Pages Deployment ID

Pages CI: https://dash.cloudflare.com/e23d124601f01d8cc43a60321873ecf8/pages/view/consequence/78fd6a1d-e7cb-495e-95f9-a71af8d64cda

Wrangler: https://dash.cloudflare.com/e23d124601f01d8cc43a60321873ecf8/pages/view/website/7b4a3506-aba9-44a8-88b9-599e4b2446e3/files

Additional Information

The error is:

Error: <Html> should not be imported outside of pages/_document.

The error no makes sense because if I build locally and deploy with wrangler, I can see the page.

Would you like to help?

  • Would you like to help fixing this bug?
@rafael-franca rafael-franca added the bug Something isn't working label Apr 5, 2024
@rafael-franca rafael-franca changed the title [馃悰 Bug]: Monorepo with Turborepo build error [馃悰 Bug]: Monorepo with Turborepo build error in Pages CI Apr 5, 2024
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

No branches or pull requests

1 participant