question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to build extension code with "shopify extension push"

See original GitHub issue

shopify extension push returns the following

Failed to build extension code.
┏━━ Building extension with: npm… ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
┃
┃ > product-reviews-sample-checkout-extension@0.1.0 build
┃ > checkout-ui-extensions-run build
┃
┃ sh: checkout-ui-extensions-run: command not found
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

What’s funny is that it did create checkout extension albeit the error.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

10reactions
ratapofcommented, Aug 17, 2021

Fixed for me, by running npm install in the checkout app extension folder. This was not specified in the README.md and should be in my opinion.

0reactions
tommy921092commented, Sep 24, 2021

I found this from the Theme app extensions overview docs helpful

Theme app extensions are currently available in a developer preview and can only be used in development stores.

For the add section or add block in the theme editor, on development stores, in the extension settings I had to set DEVELOPMENT STORE PREVIEW to enabled in order for it to show on my theme (Dawn)

I had my DEVELOPMENT STORE PREVIEW enabled but still its not showing on my theme. the theme app extension and checkout extension is already pushed and published. This is online store dawn theme. Any ideas? Screenshot 2021-09-17 at 1 52 12 PM

Finally notice that it has to be enabled in theme editor, or via deep linking https://www.youtube.com/watch?v=xYz_XMY7jEU&t=259s

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problem in shopify extension push
I'm using shopify cli to push my app's theme extension. Basically the app was build with script tag , so we just put...
Read more >
Fail building shopify theme app extension - Stack Overflow
1 Answer 1 · Use rbenv to install latest Ruby version (3.1.2) · Target rbenv version to latest version by rbenv global 3.1.2...
Read more >
Deploy and publish an app extension - Shopify.dev
After deploying your extension code to Shopify, you can preview a draft of the extension on a development store before creating a version....
Read more >
Creating custom Shopify Checkout experiences with Checkout ...
In this workshop you will learn many of the core concepts of building a custom ... Checkout UI extensions let you add custom...
Read more >
Shopify App with Theme App Extensions | Anthony Pace Blog
Any time you update the theme app extension you'll need to re-push the code from the Shopify CLI with the command shopify extension...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found