# Invalid custom types

**URL:** https://community.prismic.io/t/invalid-custom-types/12634
**Category:** Developing with Prismic
**Tags:** reactjs
**Created:** [March 8, 2023, 6:07pm UTC](https://community.prismic.io/t/invalid-custom-types/12634 "2023-03-08T18:07:09Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ivanbulik2003](https://avatars.discourse-cdn.com/v4/letter/i/c57346/32.png) [@ivanbulik2003](https://community.prismic.io/u/ivanbulik2003)
#### Post date: [March 8, 2023, 6:07pm UTC](https://community.prismic.io/t/invalid-custom-types/12634/1 "2023-03-08T18:07:09Z")

</div>

Hi, dear supports. I tried to install react starter project with following command:

`npx prismic-cli@latest theme --theme-url https://github.com/prismicio/reactjs-website --conf src/prismic.js`

During installation I get message to Log In. After Loggin I come back to terminal and see that prismic repository didn't create because of Invalid custom types format:

![image](https://europe1.discourse-cdn.com/flex013/uploads/prismic/original/2X/4/4df7a72d34c84956a723872b1b860907fea033c3.png)

So I found this topic with this comment: [Creating prismic repository... Invalid custom types format - #42 by Pau](https://community.prismic.io/t/creating-prismic-repository-invalid-custom-types-format/8968/42)

I did everything as was told but for the project that I wanter to install ([GitHub - prismicio/reactjs-website](https://github.com/prismicio/reactjs-website))

After installing packages and running npm start I got onto localhost:3000 and see this:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/prismic/original/2X/8/85724519ead155ae3ae6511266d0882e71387307.png)

Tell me please what I've done wrong. As project works now, but it doesn't look even close to one that I was uploading. Thanks a lot!

---

<div class="post-metadata">

### Author: ![Pau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/pau/32/5422_2.png) [@Pau](https://community.prismic.io/u/Pau)
#### Post date: [March 8, 2023, 7:54pm UTC](https://community.prismic.io/t/invalid-custom-types/12634/2 "2023-03-08T19:54:13Z")

</div>

Hello @ivanbulik2003, we've seen a similar use case lately. We can yet understand where the error comes from. We recommend users update their project kits and the prismic-cli. If this doesn’t work and you want to try out the sample, here's a solution to do it manually:

> [@Creating prismic repository... Invalid custom types format](https://community.prismic.io/t/creating-prismic-repository-invalid-custom-types-format/8968/42):
>
> 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](https://prismic.io/), login, and create a new repository. Download the starter: [https://g…](https://github.com/prismicio/gatsby-multi-language-site/archive/refs/heads/master.zip)
