Rank, 14 days: 18 on the Next.js sheet
1 person reported

All time, since Oct 31.

Glob import returns undefined

“next build renders {}, because every value is undefined.”

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/next-js/issues/23742/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

import.meta.glob with eager and import returns undefined in next build. With { eager: true, import: 'item' }, next dev renders each export but next build renders {} because every value is undefined.

Is this your bug?

File my report
Where
next build
Versions
16.4.3
Platforms
Windows
How bad
Breaks a normal workflow.

Original reports2, newest first

  1. import.meta.glob with eager and import returns undefined in next build (16.4)On GitHub#101013
  2. import.meta.glob with eager and import returns undefined in next build (16.4)On GitHub#101011

Do you work on Next.js?

Claim its RAP Sheet to see what your users report and answer them in one place.