App reviews, troubleshooting, and recommendations
Attempting to migrate app and app-extension. Getting error ... What does this mean, which line is the error on, what can/must I do? Thanks! jb
Error:
! Fix a schema error in shopify.web.toml:
[
{
"code": "invalid_type",
"expected": "object",
"received": "undefined",
"path": [
"commands"
],
"message": "Required"
}
]
-------------------
shopify.web.toml looks like this:
type = "frontend"
name = "sdapp6"
scopes = "write_products,write_customers,write_draft_orders"
dev = "npm run dev"
I have the same sort of error but my app is a brand new scaffold produced by shopify cli. Lame that it doesn't work out of the box for me. Shopify, you need to fix your software.
Anyway, I was able to solve my error by looking at your older toml format. I had to add the "type" entry which was missing by default. Maybe you can solve yours by looking at my new toml format:
type = ["frontend", "backend"]
name = "remix"
roles = ["frontend", "backend"]
webhooks_path = "/webhooks"
[commands]
dev = "npm exec remix dev"
[hmr_server]
http_paths = ["/ping"]
Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023