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
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
Thanks, I have enabled the support access. The db called Barber
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.No, not the
src/xata.ts
. What's missing is the .xata/migrations/.ledger,
the file is emptyok 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?
I updated the CLI and it worked! Thanks!