First of all, I had no problems with local development and local building. The project started and packaged normally. The local packaging is as follows:
But when I pushed the project to Vercel for packaging, a strange problem occurred, as shown below:
But my multi-language key exists normally:
So what is the problem?
Verifications
[X] I've verified that the problem I'm experiencing isn't covered in the docs.
[X] I've searched for similar, existing issues on GitHub and Stack Overflow.
[X] I've compared my app to a working example to look for differences.
Mandatory reproduction URL
App Router
Reproduction description
When packaging and building on vercel, a strange type error occurs immediately
Expected behaviour
My code is developed and packaged normally locally, and I hope it can be packaged normally on Vercel.
Description
First of all, I had no problems with local development and local building. The project started and packaged normally. The local packaging is as follows:
But when I pushed the project to Vercel for packaging, a strange problem occurred, as shown below: But my multi-language key exists normally: So what is the problem?
Verifications
Mandatory reproduction URL
App Router
Reproduction description
When packaging and building on vercel, a strange type error occurs immediately
Expected behaviour
My code is developed and packaged normally locally, and I hope it can be packaged normally on Vercel.