stencil-cli
stencil-cli copied to clipboard
stencil download pull command corrupts image assets
stencil version: 3.0.3 macbook
Expected behavior
when executing stencil download or pull, I would expect the image assets to be downloaded and saved in their correct format.
Actual behavior
when downloaded the assets are corrupted which leads to broken images onto live sites when the site is pushed.
Steps to reproduce behavior
stencil init stencil donwload
check asset folder containing images, and see that images are corrupted.
note: if we download the theme from BigCommerce website storefront admin, the images are downloaded correctly. This only seems to happen when using stencil.
@thenapoleon Thanks for your report. I managed to reproduce the issue and created a corresponding ticket (STRF-8865) on our internal board to fix the bug.
@MaxGenash Thank you and very much appreciated.
@thenapoleon Thank you for reporting this.
@MaxGenash Any solution or workaround?
I'm having the exact same issue. It looks like I'm going to need to download the theme files from BigCommerce website storefront admin as well.
@carlosbensant for now I downloaded the assets manually and copied them into my repository. The upload doesn't seem to corrupt these images, only the download.
I see that there is a new release of stencil, @MaxGenash, is the fix included in that release?
The fix for this issue is not ready yet, we were busy with other higher-priority stuff. Meanwhile, as a temporary workaround, you can download the assets manually, or try [email protected]
@thenapoleon @carlosbensant @caas-e2x
This issue was fixed in #685 and released as v3.1.1 to NPM. Please, retry with the updated version of stencil-cli.