#1725·terser

Broken 5.51.0 and 5.51.1

Author: fenn1ksCreated Aug 27, 2026Updated Aug 27, 2026

Build failed with 2 errors:

✘ [ERROR] Cannot assign to "n" because it is a constant

  .wrangler/tmp/pages-iTISBD/chunks/build/server.mjs:1:5905:
    1 │ ...sString(n)||"number"==typeof n){n+=`${e.startsWith("--")?e:De(e)...
      ╵                                    ^                                                                                                                                                                                           

The symbol "n" was declared a constant here:

  .wrangler/tmp/pages-iTISBD/chunks/build/server.mjs:1:5862:
    1 │ ...et n="";for(const e in e){const n=e[e];if(isString(n)||"number"=...
      ╵                                    ^                                                                                                                                                                                           

✘ [ERROR] Cannot assign to "n" because it is a constant

  .wrangler/tmp/pages-iTISBD/chunks/build/server.mjs:1:20553:
    1 │ ...sString(n)||"number"==typeof n){n+=`${e.startsWith("--")?e:De(e)...
      ╵                                    ^                                                                                                                                                                                           

The symbol "n" was declared a constant here:

  .wrangler/tmp/pages-iTISBD/chunks/build/server.mjs:1:20510:
    1 │ ...et n="";for(const e in e){const n=e[e];if(isString(n)||"number"=...
      ╵                                    ^                                                                                                                                                                                           

All build on cloudflare after 5.51.0 get 500 error help for nuxt only it nitro: { minify: false, },

5.50.0 works fine