Skip to content

Vite Build fail on Netlify Server #16196

@tristantbg

Description

@tristantbg

Astro Info

Astro                    v6.1.3
Node                     v22.16.0
System                   macOS (x64)
Package Manager          pnpm
Output                   server
Adapter                  @astrojs/netlify
Integrations             @sanity/astro
                         @astrojs/tailwind
                         @swup/astro
                         @astrojs/sitemap

If this issue only occurs in one browser, which browser is a problem?

No response

Describe the Bug

[ERROR] [vite] ✗ Build failed in 2.43s
7:29:31 PM: Syntax error "c"
7:29:31 PM: Location:
7:29:31 PM: _astro/page.!{005}.js:50:160

It was working before without problem, any idea why this is broken ?

What's the expected result?

Build fails everytime on Netlify
Build successes on local

Link to Minimal Reproducible Example

https://stackblistz.com/393288374

Participation

  • I am willing to submit a pull request for this issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions