Skip to content

v6.3.3 ReferenceError: Cannot access '__vite_ssr_export_default__' before initialization #19929

@cope

Description

@cope

Describe the bug

After upgrading from v6.3.2 to v6.3.3 my rather simple tests are failing with:

ReferenceError: Cannot access '__vite_ssr_export_default__' before initialization

Reverting back to v6.3.2 fixes it.

It looks like this message was introduced in 80a91ff:

Image

I'm guessing, of course, but...

Reproduction

n/a

Steps to reproduce

Image

the error is thrown on this highlighted line:

Image

System Info

Windows and Linux and Docker...

Used Package Manager

pnpm

Logs

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions