The theme command works correctly on my side. I do not see the same “Invalid custom types format” error. It doesn’t seem like an issue with Gatsby or the starter repo. It seems like an error within the CLI or the Prismic repo API. We'll monitor future use cases to better understand the root cause.
If you want to try out the sample without the command, you can do it. It requires some manual processes:
- Go to https://prismic.io, login, and create a new repository.
- Download the starter: https://github.com/prismicio/gatsby-multi-language-site/archive/refs/heads/master.zip
- In the starter, update
prismic-configuration.js
by renamingyour-repo-name
to the name of your repository. - In Prismic, go to the Custom Types editor and create a new Custom Type called Homepage.
- In the Custom Type editor, select the JSON editor at the right side of the page and paste in the contents of the starter’s
custom_types/homepage.json
. - Repeat steps 4-5 for Page and Top Menu.
- Add documents for Homepage, Top Menu, and Page.