App reviews, troubleshooting, and recommendations
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
When I try to run "npm run dev" I am getting the following error since yesterday. The same code works fine on deployment.
error
Fix a schema error in web/shopify.web.toml:
│
{
"expected": "'frontend' | 'backend'",
"received": "undefined",
"code": "invalid_type",
"path": [
"type"
],
"message": "Required"
}
|
Can someone please assist me in resolving this issue?
Solved! Go to the solution
This is an accepted solution.
I resolved the issue by updating my Node.js version and re-installing the required npm packages in my application.
This is an accepted solution.
I resolved the issue by updating my Node.js version and re-installing the required npm packages in my application.
My node version is LTS, only using the template to payments app, not even I wrote code, so useless , work creating a shopify app is a headache