Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Upgrade shopify-api to the latest version

Upgrade shopify-api to the latest version

midavis
Shopify Partner
9 0 1

I have updated the version of my custom app to 2024-07.   The only place I am still having issues is with updating the version for my rest api.  If I change the version I am getting the below error when trying to run the app.  If I go look at my current version for shopify-app it is 9.7.2.  Looking through the code on their site I see that 2024-07 is not in this version.   I have tried to update all of my packages, but it is still 9.7.2.   Why doesn't the Shopify CLI update to the latest version of this package?

 

Also, I did notice that from version 10.0 they now have 3 subdirectories (cjs, esm, ts).  Which one do you choose if I am able to get the version upgraded?

 

Error: Cannot find module '@shopify/shopify-api/rest/admin/2024-07'

Replies 0 (0)