Unable to publish Argo Extension

Solved
Chong1
New Member
3 0 0

Hi guys,

Is anyone facing the same problem with publishing the Argo subscription extension via the CLI? I am getting an error ` An error occurred while attempting to prepare your script` . I would kindly love any suggestions as to what might be caused this error?

I followed the steps here: https://shopify.dev/tutorials/getting-started-product-subscription-extension

1) shopify create extension --type=PRODUCT_SUBSCRIPTION --name="My test extension"
2) shopify register
3) shopify push

 Pushing your extension to Shopify ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
┃ Pushing code to Shopify...
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (3.51s) ━━
X An error occurred while attempting to prepare your script.

I am using the default code provided by the Argo extension without any modifications to reduce the possibilities of my modified code being the root cause of the issue. 

Anyone have any experience with this? Thank you for your time.

 

 

 

0 Likes
jlalande
Shopify Staff
Shopify Staff
14 3 9

This is an accepted solution.

Hi @Chong1 , thanks for reaching out! 

Could you try to follow the `upgrading` steps here and see if the problem persists? https://shopify.dev/tutorials/getting-started-product-subscription-extension#upgradin

Chong1
New Member
3 0 0

Hey,

Thanks for the response. Yes, the `upgrade ` command seems to do the trick. I am able to publish the extension now.

0 Likes