App reviews, troubleshooting, and recommendations
i'm getting "app failed to load” on Shopify tile , when i created a fresh extension .
On inspecting Chrome dev tool :
- it gives some internal error from posui.js file which gets auto-generated.
.toml File
# The version of APIs your extension will receive. Learn more: # https://shopify.dev/docs/api/usage/versioning api_version = "2024-04" [[extensions]] type = "ui_extension" name = "posui" handle = "posui" description = "A react POS UI extension" # Controls where in POS your extension will be injected, # and the file that contains your extension’s source code. [[extensions.targeting]] module = "./src/Tile.jsx" target = "pos.home.tile.render" [[extensions.targeting]] module = "./src/Modal.jsx" target = "pos.home.modal.render"
Package.json
{ "name": "", "version": "1.0.0", "license": "UNLICENSED", "scripts": { "shopify": "shopify", "build": "shopify app build", "dev": "shopify app dev", "info": "shopify app info", "generate": "shopify app generate", "deploy": "shopify app deploy" }, "dependencies": { "@shopify/app": "^3.58.2", "@shopify/cli": "^3.65.3", "@shopify/ui-extensions": "2024.4.2", "@shopify/ui-extensions-react": "2024.4.2", "react": "^18.3.1" }, "author": "niteshkumar", "private": true, "description": "This is a template for building a [Shopify app](https://shopify.dev/docs/apps/getting-started) that includes no app home UI. It contains the basics for building a Shopify app that uses only app extensions.", "main": "index.js", "keywords": [] }
Solved! Go to the solution
This is an accepted solution.
After deleting the whole folder, starting the app from scratch with shopify -init @latest , and remix template , it worked fine.
can anyone please help me in this issue..
This is an accepted solution.
After deleting the whole folder, starting the app from scratch with shopify -init @latest , and remix template , it worked fine.
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024