What's your biggest current challenge? Have your say in Community Polls along the right column.
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.

javy: Could not determine latest release using the GitHub (Status code 301)

Solved

javy: Could not determine latest release using the GitHub (Status code 301)

Nick_Wesselman
Shopify Staff
171 43 73

The following error appears when attempting to build an app with a JavaScript function:

 

 

Error: Could not determine latest release using the GitHub (Status code 301):
    at getDesiredVersionNumber (file:///C://node_modules/javy-cli/index.js:91:9)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async main (file:///C://node_modules/javy-cli/index.js:15:18)

 

Nick Wesselman | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Accepted Solution (1)

Nick_Wesselman
Shopify Staff
171 43 73

This is an accepted solution.

You are using an old version of Shopify CLI that points to the wrong repository for javy binaries. You need to upgrade to the latest Shopify CLI with the following command:

npm run shopify upgrade

 

This upgrade is also required for simplified deployments.

Nick Wesselman | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

View solution in original post

Reply 1 (1)

Nick_Wesselman
Shopify Staff
171 43 73

This is an accepted solution.

You are using an old version of Shopify CLI that points to the wrong repository for javy binaries. You need to upgrade to the latest Shopify CLI with the following command:

npm run shopify upgrade

 

This upgrade is also required for simplified deployments.

Nick Wesselman | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog