Cannot push new version of Script using Shopify CLI

playwright-mike
Shopify Partner
72 18 33

I am following this example: https://shopify.dev/apps/checkout/scripts/shipping-changes/building-a-shipping-script

When running the command "shopify script push", I get the following result:

Partner organization [MY PARTNER NAME] ([MY PARTNER ID]).
✗ Error
Couldn't push script to app. You don't have any apps in your Partner Dashboard.


Some context:

  • I have Shopify CLI version 2.0.1
  • shopify commands run cleanly
  • I have many existing and new apps in my Partner Dashboard
  • running "shopify whoami" shows I am logged into a store on behalf of a partner organization
  • when I followed the tutorial for publishing a post-purchase checkout extension, that seemed to work fine

 

Has anyone been able to push a script successfully?

 

Playwright | Create Shopify Scripts without writing code | https://playwrightapp.com
- Was my reply helpful? Please Like and Accept Solution.

Replies 5 (5)

nchoraria
Shopify Partner
6 0 0

Hi,

I am also facing the same issue.

Did you find any solution?

playwright-mike
Shopify Partner
72 18 33

@nchoraria, yes I was able to get it working!

It turns out you need a few things:

  • need to email scripts-beta@shopify.com and be accepted
  • Shopify will turn on Scripts V2 for your specific partner account AND specific stores 
  • be sure you request to activate a store that uses Storefront 2.0 (easiest thing to do is just create a new dev store)
  • after your partner org and stores are enabled, you need to create a CUSTOM app (doesn’t work with public apps yet)
  • then make sure you have the latest version of Shopify CLI (2.1.0 as if this post)
  • then the tutorial should work (I don’t think you need the last “shopify script enable” command anymore)

 

Apologies if that’s a bit all over the place. Typing from my phone. 

Let me know if you can’t get it working. 

Playwright | Create Shopify Scripts without writing code | https://playwrightapp.com
- Was my reply helpful? Please Like and Accept Solution.

nchoraria
Shopify Partner
6 0 0

We have sent email Twice but not received any Acceptance from Shopify. 

We have Mentioned our Partner ID and also Store name for the Approval. 

 

Any specific timeline it took to get approval.  ?

yoopay
Visitor
1 0 0

I send mail to scripts-beta@shopify.com. response is "Thank you so much for your interest in the Scripts V2 beta. Enrollment is now closed, though we expect to open it in the future." is it mean I can not work? 

playwright-mike
Shopify Partner
72 18 33
Yes. You will need to wait until Shopify opens beta access again.
Playwright | Create Shopify Scripts without writing code | https://playwrightapp.com
- Was my reply helpful? Please Like and Accept Solution.