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

[WARNING]: unhandledRejection ReferenceError: Headers is not defined #3817

Closed
4 tasks done
WebsiteArtificers opened this issue Nov 20, 2023 · 2 comments
Closed
4 tasks done
Labels
archived This issue has been locked. question Further information is requested

Comments

@WebsiteArtificers
Copy link

Before opening, please confirm:

App Id

NEW_APP

AWS Region

us-east-1

Amplify Hosting feature

Deployments

Question

I am trying to deploy my NextJS application to AWS Amplify, but I keep getting the same build error and I can't seem to figure out what the issue is. I thought it might be an issue with fetch, so I switched to Axios, but I still get the same error.

Here is the error that I keep getting that is preventing my application from being deployed:

2023-11-20T16:35:35.700Z [WARNING]: unhandledRejection ReferenceError: Headers is not defined at ...

Here's the GitHub repo for the website that I am trying to host on Amplify:

https://github.com/WebsiteArtificers/website

Let me know if there is any additional information required.

@WebsiteArtificers WebsiteArtificers added the question Further information is requested label Nov 20, 2023
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Copy link

This issue has been automatically locked.

@github-actions github-actions bot added the archived This issue has been locked. label Nov 20, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Nov 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived This issue has been locked. question Further information is requested
Projects
None yet
Development

No branches or pull requests

0 participants