Why is my Shopify extension push frequently giving an error?

Hi good peoples. I was looking for a help. any comment is highly appreciated .
I’m using shopify cli to push my app’s theme extension. Basically the app was build with script tag, so we just put same piece of js code in blocks to product the result.
After it when we go for a push extension sometimes it does without a problem but most of the time if gives an error like bellow

And the code is :

{{ 'style.css' | asset_url | stylesheet_tag }}

{% if shop.metafields.sticky_atc.preview_page_settings_atc != blank %}

{% endif %}

{% assign atcAllScripts = "sticky_variables.js
,sticky_helper.js
,sticky_onscroll.js
,sticky_container_create.js
,sticky_positions.js
,sticky_downcaret_svg.js
,sticky_button_svg.js
,sticky_after_button_click.js
,sticky_button_create.js
,sticky_savehistory.js
,sticky_chathead.js
,sticky_put_variant_option.js
,sticky_hide_on_viewpoint.js
,sticky_reconfig_drawing.js
,sticky_contruct_data.js
,sticky_custom_page.js
,sticky_get_svg.js
,sticky_draw_image.js
,sticky_drawhandle.js
,sticky_app_preview.js"| split: ',' %}

{% for scriptname in atcAllScripts %}

{% endfor %}

{% schema %}
{
"name": "Sticky_ATC",
"tag": "section",
"templates": ["product", "collection"],
"target": "body"
}

{% endschema %}
1 Like

Same problem here! Haven’t been able to get any further error messages or help.