You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
In which of these areas are you experiencing a problem?
Extension
Expected behavior
From February 24th deploying a bundle of 50+ Shopify Functions scripts worked. On February 25th one small edit to localizations happened and Shopify CLI is returning the error: Script exceeds 2048 KB limit. Rolling back versions and attempting deployment also returns this error.
I would expect that either the deployment works or Shopify CLI described the problematic file.
Hi @keiraarts!
I've been investigating this issue, does it still happen to you? were you able to deploy or identify which specific extension was causing the issue?
The localization strings are not considered for the script size (they have their own limits), only your JS code, so that shouldn't be what triggered the error 🤔
We are working on improving that error message to provide more actionable information.
Please confirm that you have:
In which of these areas are you experiencing a problem?
Extension
Expected behavior
From February 24th deploying a bundle of 50+ Shopify Functions scripts worked. On February 25th one small edit to localizations happened and Shopify CLI is returning the error: Script exceeds 2048 KB limit. Rolling back versions and attempting deployment also returns this error.
I would expect that either the deployment works or Shopify CLI described the problematic file.
Actual behavior
╭─ error ──────────────────────────────────────────────────────────────────────╮
│ │
│ Version couldn't be created. │
│ │
│ Script exceeds 2048 KB limit │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
Verbose output
Verbose output
Reproduction steps
Operating System
Mac OS Montery
Shopify CLI version (
shopify --version
)@shopify/cli/3.69.4 darwin-arm64 node-v22.11.0
Shell
No response
Node version (run
node -v
if you're not sure)V22
What language and version are you using in your application?
Typescript
The text was updated successfully, but these errors were encountered: