Questions and discussions about using the Shopify CLI and Shopify-built libraries.
Hi,
I have a custom app which uses the selling plan API and has an extension registered of type: product subscription.
This is an extension for the argo admin as outlined here: https://shopify.dev/apps/subscriptions/app-extensions/getting-started
I've made several updates to this extension in the past without issue but since updating Shopify CLI it has stopped working.
I receive the following error when trying to push an update:
✗ Extension template references invalid renderer package please contact Shopify for help.
The extension is using react template without typescript. Running on OSX 11.6, npm 16.*
I've removed node_modules and reinstalled, I have also used Shopify CLI to create a new extension then change the env setting to push to the same remote extension but I get the same issue.
Can anyone help with this, I've been on contact with Shopify support but they couldn't help and directed me to Github and here.
Solved! Go to the solution
This is an accepted solution.
To learn more visit the Shopify Help Center or the Community Blog.
Can you clarify which version of the CLI you are using? Please make sure you're using the latest version, 2.6.5.
If that doesn't solve the issue, could you run the command with SHOPIFY_CLI_STACKTRACE=1 and post the result of the stack trace?
Example:
SHOPIFY_CLI_STACKTRACE=1 shopify extension push
To learn more visit the Shopify Help Center or the Community Blog.
In addition to the stacktrace Cecy requested, could you also provide us with a copy of your `package.json` file? This will make it easier for us to diagnose the issue.
Thanks,
Konstantin
To learn more visit the Shopify Help Center or the Community Blog.
Hi thanks for the reply,
I can confirm I'm running 2.5.6
When I try to run the command with the stack trace it doesn't return any additional information:
My package.json file:
{
"name": "admin-ui-extensions-template",
"version": "0.1.0",
"main": "extension.ts",
"engines": {
"node": ">=10.16.0"
},
"repository": "https://github.com/Shopify/admin-ui-extensions-template.git",
"author": "Shopify <app-extensions@shopify.com>",
"license": "MIT",
"devDependencies": {
"@shopify/admin-ui-extensions-run": "latest",
"eslint": "^7.32.0",
"eslint-plugin-react": "^7.24.0"
},
"scripts": {
"server": " admin-ui-extensions-run server --entry=\"index.js\" --type=PRODUCT_SUBSCRIPTION",
"build": "admin-ui-extensions-run build --entry=\"index.js\""
},
"dependencies": {
"@shopify/admin-ui-extensions-react": "latest",
"react": "^17.0.0"
}
}
Correction on post above: I can confirm I'm running 2.6.5
To learn more visit the Shopify Help Center or the Community Blog.
Hi @cecy thanks for looking into this for us. Do you know when this might be completed as we are waiting on it to be able to launch some new functionally for a client for the 30th October?
I can interact with the API via curl requests to set the data directly if needed if it's not going to be in the next day or so.
Thank you!
Hello!
The next planned release of the shopify-cli is November 1st, so we are aiming to have this fix go out with that release. Sorry for the inconvenience!
To learn more visit the Shopify Help Center or the Community Blog.
That is great, thank you!
This is an accepted solution.
To learn more visit the Shopify Help Center or the Community Blog.