# Eroor when buidling a Primic Website

**URL:** <https://community.prismic.io/t/eroor-when-buidling-a-primic-website/15781>\
**Category:** Developing with Prismic\
**Tags:** svelte, javascript\
**Created:** [April 24, 2024, 9:51pm UTC](https://community.prismic.io/t/eroor-when-buidling-a-primic-website/15781 "2024-04-24T21:51:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayenmonasha3](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/ayenmonasha3/32/7337_2.png) [@ayenmonasha3](https://community.prismic.io/u/ayenmonasha3)\
**Post date:** [April 24, 2024, 9:51pm UTC](https://community.prismic.io/t/eroor-when-buidling-a-primic-website/15781/1 "2024-04-24T21:51:44Z")

</div>

## Describe your question/issue in detail

When reporting bugs, we recommend you do a recording of your issue with the Jam Chrome plugin:

> **[Jam - Chrome Web Store](https://chromewebstore.google.com/detail/jam/iohjgamcilhbgmhbnllfolmkmmekfmci)**
>
> Report and resolve bugs 10x faster.

This will give us lots of dev information to help debug your issue. You can remove it once you're done 🙂

### Impacted feature

I am building a website using Prismic and there is an error on my Mapper.js folder where I am exporting Mappers, and when importing mappers i get this error: Type '{ case\_studies: ({ slice, context }: { slice: CasestudiesSlice; context: { client: Client; }; }) =\> Promise\<{ slice: CasestudiesSlice; caseStudies: (CaseStudyDocument | undefined); }\>; }' has no properties in common with type 'SliceMappers\<PageDocumentDataSlicesSlice, { client: Client; }\>'.ts(2559)

### What steps have you taken to resolve this issue already?

I have tried to rework my way around the code but I seem to come up at the same terms when I redo the code, and I cannot also erase the code because it will break Prismic.

### Errors

Type '{ case\_studies: ({ slice, context }: { slice: CasestudiesSlice; context: { client: Client; }; }) =\> Promise\<{ slice: CasestudiesSlice; caseStudies: (CaseStudyDocument | undefined); }\>; }' has no properties in common with type 'SliceMappers\<PageDocumentDataSlicesSlice, { client: Client; }\>'.ts(2559)

### Your Role

I am developing the Project

`

> 1. List item

`

---

<div class="post-metadata">

**Author:** ![ayenmonasha3](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/ayenmonasha3/32/7337_2.png) [@ayenmonasha3](https://community.prismic.io/u/ayenmonasha3)\
**Post date:** [April 24, 2024, 9:54pm UTC](https://community.prismic.io/t/eroor-when-buidling-a-primic-website/15781/2 "2024-04-24T21:54:47Z")

</div>

[Jam](https://jam.dev/c/4fc3b046-57e6-400a-9280-e57d71058d9f) this is the link of Jam

---

<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:** [April 27, 2024, 12:16am UTC](https://community.prismic.io/t/eroor-when-buidling-a-primic-website/15781/4 "2024-04-27T00:16:59Z")

</div>

What is the function of the mappers file? I'm not familiar with this error, but it seems like you're trying to assign or pass a type that doesn't match the expected structure.
