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"]
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023