Troubleshooting Theme Uploads
Restrictions
Custom theme uploads must meet these restrictions:
- You may upload a maximum of 20 custom themes at a time to the control panel’s
Storefront>My Themessection. - If you reach this maximum, you can delete custom themes to make room for more uploads.
- Before uploading, you must package custom themes into a Stencil-specific zip file format, using Stencil CLI’s
stencil bundlecommand. - A theme’s zip file must be no larger than 50 MB. If your file exceeds that size, please use either a WebDAV or a CDN upload to exclude large static assets.
- Generated parsed template files must be less than 1 MB.
Error codes
Warnings
Warnings will not block a theme’s upload, but these onscreen and/or log messages notify you of problems within the zipped theme. Here are the warnings and their meanings:
Workarounds and further info
-
When using a Windows machine, it is necessary to close PowerShell and re-open as admin before installing nvm.
-
If a custom theme does not render properly after you upload and apply it to a storefront, make sure you have created the theme’s zip file using the
stencil bundlecommand, on a macOS, Linux computer, or virtual machine. Using thestencil bundlecommand will exclude Windows-specific errors that have occurred on some bundles. -
If you repeatedly encounter the same error or warning and neither this page nor our KB resolves the problem, see support resources for theme developers in our Developer Community.