Next.js Discord

Discord Forum

Cannot build next 9.3.5. app -types of 'key' incompatible

Unanswered
American Fuzzy Lop posted this in #help-forum
Open in Discord
American Fuzzy LopOP
Hello there,
21 days ago, we changed in our project google analytics package and then we successfully built the web app on vercel.
5 days ago, we needed to change only some texts on webpage so we changed it and the build is unsuccessfull. We only changed text but vercel build log tells us there is type mismatch, as you can see on screenshot.
When i add the property "key" (although there is no need because the component is not rendered from array) the error stays the same (as is visible on second screenshot).

Do you guys know if there were any changes in past 2 weeks in vercel?

We use these packages in package.json:
"next": "9.3.5",
"styled-components": "^5.0.0",
"typescript": "3.7.5",


Thanks in advance!

0 Replies