Shopify CLI - Error on push of product subscription extension

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.

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

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

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

Correction on post above: I can confirm I’m running 2.6.5

Hello!

I have identified the issue and I’m working on a fix. I will let you know
as soon as the fix is out and when you can expect it to go live.

Thanks for bringing this to our attention!

1 Like

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!

That is great, thank you!

New version 2.6.6 should be out now. Please update your CLI and let us know
if the issue persists.

Best,

1 Like

@cecy Thank you so much for this that update has fixed the issue for me!

1 Like