Unable to find record '.tina/__generated__/_graphql.json'
error?Tina Cloud is in public beta. Get Started
TinaCMS is an open source toolkit that enables developers to create a live editing experience on their site.
Tina Cloud adds a GraphQL API to Tina's open-source content editor allowing it to read and write content stored in your Github repository (ie. Markdown and soon JSON). It also grants authorization for other users (content creators, editors, marketers, etc) to login and edit their site without needing to grant direct access to the repository in GitHub
Since this is an early release you should expect to run into bugs occasionally or be required to update your code because of API improvements.
These features are not (yet) included in Tina Cloud and you might miss them:
You'll find success with Tina Cloud if your project includes:
The Next.js starter can get you up and running quickly with the above considerations. Give it a try and let us know how we can make developing with Tina easier.
There will be no cost for small teams to use Tina Cloud while it is in Beta.
A fair use policy will be coming soon.
We will contact you if we believe your use case may eventually fit within our post-beta paid plans.
It does! Tina Cloud can work with sites inside monorepos by specifying the path to your .tina
folder in your Project configuration.
If your repo is not a monorepo, there's no need to do any configuration. We'll expect your .tina
folder at the root of your repo.
Here's an example monorepo structure that works with Tina Cloud:
/projects/site-a
/projects/site-b
/projects/site-c
Unable to find record '.tina/__generated__/_graphql.json'
error?Tina Cloud's GraphQL API returns this error when it cannot find a file in your GitHub repository. This may occur under the following circumstances:
.tina
folder (and __generated__
subfolder) is not in your GitHub repository remote..gitignore
file excluding it..tina
folder..tina
folder.https://content.tinajs.io/content/{tina_client_id}/github/{branch}
where {tina_client_id}
matches the Client ID on the Project in Tina Cloud and {branch}
is a valid branch.When a user logs in from your site, we will pop open a login window. When login is complete, we will attempt to send a message back to the main window.
The most common reasons for this issue are:
Make sure to include
https
in the Site URL eg: https://forestry.io or if you are testing locally, it might be something likehttp://localhost:3000
Last Edited: January 24, 2022