I have been trying to create a subscription plan extension app for a project, but whenever i try to serve it to start a server it gives me this Error "✗ `@shopify/admin-ui-extensions-run` package not found.". I've used shopify cli to scaffold the product subscription app extension.
I have tried to re-install the admin-ui-extensions-run npm, and the entire extension project, but it does not work.
any idea's would be greatly appreciated
Same problem here, even after following the steps on this page:
I got it working with the following steps:
Deleted node_modules folder and package-lock.json
Ran 'yarn install'
Running 'npm install' instead of 'yarn install' might also work but I haven't tested that.
Thanks for posting!
Just tried with both yarn and npm, however still the issue persists. Is there anything further you did differently to make it work?
Were you able to run the further steps mentioned in the following doc?
No, I didn't do anything else. But I did select the vanilla js option.
This is my configuration:
shopify-cli version 2.3.0
yarn version 1.22.5
node version 14.17.6
I haven't yet followed the entire doc but as mentioned in the doc, I am able to see the Subscriptions card in my developmental store's product pages and can also see the extension in the Developer Console. I am also able to see some minor text changes I made in the index.js file.
Could you please add as much information as you can about the issue you're experiencing on https://github.com/Shopify/shopify-cli/issues/1452 - any info about how your app is set up, or additional messaging in the logs would be helpful. Thanks!
ADded, I had to create a new application and overwrite my code on it. So I don't think my code caused this.
There is some issue with installing the package `@shopify/admin-ui-extensions-run` on your local. Shopify CLI cannot find it
This fix https://github.com/Shopify/shopify-cli/issues/1452#issuecomment-924552185 might help