Discussing Shopify Functions development, deployment, and usage in Shopify apps.
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
Solved! Go to the solution
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
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