-
Notifications
You must be signed in to change notification settings - Fork 640
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
Error: Type '"origin" | undefined' is not assignable to type '"origin"' during Build. #1202
Comments
If you would like to upvote the priority of this issue, please comment below or react on the original post above with 👍 so we can see what is popular when we triage.@us24man Thank you for opening this issue. 🙏
This is an automated message, feel free to ignore. |
I am unable to deploy my project to vercel due to this. Not sure if others are facing the same issue but this is pretty important for me. |
@us24man Hello, I tried to reproduce your problem with same setup and everything works fine, I can build application.
What version of Node you're using? |
@majovkovic thank you for responding here. |
@us24man Okay I dont think its about Node version. I'am passing build with 20.11.1. |
I could go into node_modules and modify this to build locally but the issue will persist on Vercel. |
Most likely something else causes a problem. Anyway, good luck with your project. |
While building my Next JS project using "npm run build" I get this error.
This is really annoying as i am unable to deploy the app to Vercel because of this.
Steps to reproduce:
package version 3.4.0
Next JS version 14.2.3
Typescript version ^5
The text was updated successfully, but these errors were encountered: