Hi, the code and types files don't auto

Hi, the code and types files don't auto generate as usual when run Xata init or Xata pull main
6 Replies
cmck
cmck4d ago
Hey alihammad, let me test this and see what's going on. 👍 let me know if you have any observations or questions in the meantime. Hi Ali, I see you enabled support access there. The invite seems to have expired though. Would you mind switching support access on so I can test with your workspace? If it's already on please switch it off and on again. Thanks for bearing with me
alihammad
alihammadOP4d ago
Thanks, I have enabled the support access. The db called Barber
cmck
cmck4d ago
That worked, thanks So to clarify are you missing the src/xata.ts file when you run xata init ? I just tested there and everything seems to generate without issue. the path for xata.ts might be somewhere other than the project folder. On a mac for example if left as src/xata.ts it will generate in your root folder.
alihammad
alihammadOP4d ago
No, not the src/xata.ts . What's missing is the .xata/migrations/.ledger, the file is empty
cmck
cmck4d ago
ok thanks for clarifying Hmm I have a ledger and a list of migrations. What version of the CLI are you using? If you use a fresh project folder does the issue persist?
alihammad
alihammadOP4d ago
I updated the CLI and it worked! Thanks!

Did you find this page helpful?