Following the steps for trying to setup a Gatsby project with Prismic directly from this tutorial:
And on the very first step where you run the theme command, I'm getting an error: "creating prismic repository... Invalid custom types format". How is this even occurring when I'm copying the command directly? It's crazy.
Hey Ethan, I just tested the command and it works. Which version of the prismic-cli do you have in your machine? You can check by running prismic -v in the console.
Opening browser to https://prismic.io/dashboard/cli/login?port=5555
Prismic: Logging in... Logged in as ~~~~@icloud.com
creating prismic repository... Invalid custom types format
Prismic: Press any key to open up the browser to login or q to exit:
This happens whether I run npx prismic-cli theme --theme-url https://github.com/prismicio/gatsby-getting-started-tutorial --ignore-conf or whether I install prismic and then run prismic theme --theme-url https://github.com/prismicio/gatsby-getting-started-tutorial --ignore-conf
(BTW, it also happens whether I use npm or yarn as the package manager.)
Hey, I run npx prismic-cli theme --theme-url https://github.com/prismicio/gatsby-getting-started-tutorial --ignore-conf
(I did follow tutorial Gatsby Tutorial. 1. Launch the project - Prismic).
I met same result
I run prismic -v then I get prismic-cli/4.2.2 win32-x64 node-v14.15.5
and I sure that I logged in prismic.
How can I do?.
node version 16.3.0
npm version 17.16.0
os windows 10
Opening browser to prismic.io Prismic: Logging in... Logged in as *****@**.com creating prismic repository... Invalid custom types format Prismic: Press any key to open up the browser to login or q to exit: