You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an existing project on Nhost that I'm trying to link to with nhost dev, but I get the following error. It seems like it's not recognising the existing tables I have set up (which are in another schema).
Error message:
$ nhost dev
✖ Applying metadata
Error! Command failed: hasura metadata apply --endpoint http://localhost:8080 --admin-secret 123456 --skip-update-check
{"level":"info","msg":"Applying metadata...","time":"2021-09-13T08:14:53+01:00"}
time="2021-09-13T08:14:53+01:00" level=fatal msg="error applying metadata \n{\n \"internal\": [\n {\n \"definition\": {\n \"schema\": \"quote\",\n \"name\": \"list\"\n },\n \"reason\": \"Inconsistent object: no such table/view exists in source: \\\"quote.list\\\"\",\n \"name\": \"table quote.list in source default\",\n \"type\": \"table\"\n }\n ],\n \"path\": \"$.args\",\n \"error\": \"cannot continue due to inconsistent metadata\",\n \"code\": \"unexpected\"\n}"
Pretty error JSON:
{
"internal": [
{
"definition": {
"schema": "quote",
"name": "list"
},
"reason": "Inconsistent object: no such table/view exists in source: \"quote.list\"",
"name": "table quote.list in source default",
"type": "table"
}
],
"path": "$.args",
"error": "cannot continue due to inconsistent metadata",
"code": "unexpected"
}
The text was updated successfully, but these errors were encountered:
At least, I think that's what's happening.
I have an existing project on Nhost that I'm trying to link to with
nhost dev
, but I get the following error. It seems like it's not recognising the existing tables I have set up (which are in another schema).Error message:
Pretty error JSON:
The text was updated successfully, but these errors were encountered: