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"]
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025