Im trying to export the hasura metadata but i’m receiving this error after running the command hasura metadata export :
FATA[0001] failed to export metadata: cannot export actions from metadata: error parsing metadata
object: actions
file: actions.yaml
error: error in converting metadata to sdl: exit status 4:
Note:
If I use sudo hasura metadata export it works well, but I can’t edit the generated files…
Steps to reproduce:
I installed hasura CLI using hasura docs
After that I downloaded the official docker-compose file
After that I ran the commands:
docker-compose up -d
hasura metadata export
![Problem to export Hasura metadata - FATA[0001] failed to export metadata](/wp-content/uploads/questions/problem-to-export-hasura-metadata-fata0001-failed-to-export-metadata-95b4c42.jpg)
![Problem to export Hasura metadata - FATA[0001] failed to export metadata](/wp-content/uploads/questions/problem-to-export-hasura-metadata-fata0001-failed-to-export-metadata-ad8608f.jpg)
![Problem to export Hasura metadata - FATA[0001] failed to export metadata](/wp-content/uploads/questions/problem-to-export-hasura-metadata-fata0001-failed-to-export-metadata-bea5740.jpg)
![Problem to export Hasura metadata - FATA[0001] failed to export metadata](/wp-content/uploads/questions/problem-to-export-hasura-metadata-fata0001-failed-to-export-metadata-2c0e283.jpg)