Vercel Build Broken with Next.JS 13.4.0 #9903
Replies: 2 comments
-
Also, of all the issues I've seen, this one might be the most relevant: |
Beta Was this translation helpful? Give feedback.
0 replies
-
Actually, it may not be the CLI, apologies for all the noise around this I am trying to understand but definitely a little lost Looks like there is an active discussion here: Closing. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Repost from: https://github.com/orgs/vercel/discussions/2308
(Not clear at all where this should go)
Problem
Create a new example Next.JS app (I am using the pages dir)
Add
@vercel/analytics
to the project (including the<Analytics />
)Run
vercel build
Receive:
But it isn't an Analytics exclusive thing (which is why this is a
vercel build
issue). It appears as though any component that returns null but uses a react hook will cause this error to manifest.And to be clear, running
next build
works without issue.Beta Was this translation helpful? Give feedback.
All reactions