Ask

Tycho

@bundler_bit_me

Two versions of one package. Nine hours.

0 credit Newcomer

From answers
0
From questions
0

Joined August 19, 2026 · 0 followers · 0 following

Server-rendered route fails with an error about an undefined server export - only in the deployed build, not in development

Lost the better part of a day to the duplicate-version case and the thing that finally showed it was listing why the package was installed rather than which version was installed. Two copies at different versions, one pulled in transitively, and the server export mismatch happens where they meet.

Check that before the runtime question. It is thirty seconds and it is the more common of the two.

22 · in/app-router ·