# Cannot get the Essential Slices to function in new project

**URL:** <https://community.prismic.io/t/cannot-get-the-essential-slices-to-function-in-new-project/6186>\
**Category:** Developing with Prismic\
**Tags:** nextjs\
**Created:** [July 11, 2021, 4:38pm UTC](https://community.prismic.io/t/cannot-get-the-essential-slices-to-function-in-new-project/6186 "2021-07-11T16:38:27Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![hayes.ryan83](https://avatars.discourse-cdn.com/v4/letter/h/ac91a4/32.png) [@hayes.ryan83](https://community.prismic.io/u/hayes.ryan83)\
**Post date:** [July 11, 2021, 4:38pm UTC](https://community.prismic.io/t/cannot-get-the-essential-slices-to-function-in-new-project/6186/1 "2021-07-11T16:38:27Z")

</div>

Followed tutorial, and got Dependency conflicts with Theme -UI trying to install essential slices

npm Version: 7.7.6  
node: 15.14  
prismic: 3.8.14 & lastest alpha (tried both)

---

<div class="post-metadata">

**Author:** ![Priyanka](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/priyanka/32/3223_2.png) [@Priyanka](https://community.prismic.io/u/Priyanka)\
**Post date:** [July 15, 2021, 1:22pm UTC](https://community.prismic.io/t/cannot-get-the-essential-slices-to-function-in-new-project/6186/3 "2021-07-15T13:22:26Z")

</div>

Hello Ryan,

Thanks for posting this question to us.

I am sorry but I don't understand your question completely. Could you please elaborate more, like

1. The link of documentation that you are following?
2. Screenshot of the error?

Thanks,  
Priyanka

---

<div class="post-metadata">

**Author:** ![hayes.ryan83](https://avatars.discourse-cdn.com/v4/letter/h/ac91a4/32.png) [@hayes.ryan83](https://community.prismic.io/u/hayes.ryan83)\
**Post date:** [July 16, 2021, 8:30pm UTC](https://community.prismic.io/t/cannot-get-the-essential-slices-to-function-in-new-project/6186/4 "2021-07-16T20:30:25Z")

</div>

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

I follow the tutorial for nextjs setup with storybook and get dependency conflicts when installing your Essential Slices package.

---

<div class="post-metadata">

**Author:** ![Priyanka](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/priyanka/32/3223_2.png) [@Priyanka](https://community.prismic.io/u/Priyanka)\
**Post date:** [July 19, 2021, 10:55am UTC](https://community.prismic.io/t/cannot-get-the-essential-slices-to-function-in-new-project/6186/5 "2021-07-19T10:55:42Z")

</div>

Hello @hayes.ryan83

Are you trying to install Prismic's essential slices? If so, you need to run `$ prismic sm --setup`. It will set up a Next.js project with SliceMachine. Find complete detail in this [article](https://prismic.io/docs/technologies/add-the-dev-tools-to-an-existing-project-nextjs).

Thanks,  
Priyanka

---

<div class="post-metadata">

**Author:** ![hayes.ryan83](https://avatars.discourse-cdn.com/v4/letter/h/ac91a4/32.png) [@hayes.ryan83](https://community.prismic.io/u/hayes.ryan83)\
**Post date:** [July 19, 2021, 11:42am UTC](https://community.prismic.io/t/cannot-get-the-essential-slices-to-function-in-new-project/6186/6 "2021-07-19T11:42:59Z")

</div>

Yes, Im trying to install it. I alreadly ran the prismic sm --setup.

I've attempted the tutorial multiple times with different versions. I get the error listed above

---

<div class="post-metadata">

**Author:** ![hayes.ryan83](https://avatars.discourse-cdn.com/v4/letter/h/ac91a4/32.png) [@hayes.ryan83](https://community.prismic.io/u/hayes.ryan83)\
**Post date:** [July 19, 2021, 12:57pm UTC](https://community.prismic.io/t/cannot-get-the-essential-slices-to-function-in-new-project/6186/7 "2021-07-19T12:57:27Z")

</div>

If you follow the tutorial using the sample project install

> **[Launch an Example Slice Machine & Next.js Project](https://prismic.io/docs/technologies/launch-an-example-slice-machine-project-next.js)**
>
> This article will guide you through the steps to get up and running with one of our examples projects from which you can build upon and explore all the features Prismic has to offer.

Essential Slices will not work.

I tried using the setup manually and it seemed to install

---

<div class="post-metadata">

**Author:** ![Priyanka](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/priyanka/32/3223_2.png) [@Priyanka](https://community.prismic.io/u/Priyanka)\
**Post date:** [July 21, 2021, 12:34pm UTC](https://community.prismic.io/t/cannot-get-the-essential-slices-to-function-in-new-project/6186/10 "2021-07-21T12:34:09Z")

</div>

Hello @hayes.ryan83

I am going to check this out and will come back to you.

Thanks,  
Priyanka

---

<div class="post-metadata">

**Author:** ![Priyanka](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/priyanka/32/3223_2.png) [@Priyanka](https://community.prismic.io/u/Priyanka)\
**Post date:** [July 22, 2021, 9:36am UTC](https://community.prismic.io/t/cannot-get-the-essential-slices-to-function-in-new-project/6186/11 "2021-07-22T09:36:12Z")

</div>

Hello @hayes.ryan83

I have tested this out, and It seems essential slices are broken in the Example projects. I have submitted this issue with my dev team and will return to you when I hear back from them.

Thanks,  
Priyanka

---

<div class="post-metadata">

**Author:** ![Priyanka](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/priyanka/32/3223_2.png) [@Priyanka](https://community.prismic.io/u/Priyanka)\
**Post date:** [September 2, 2021, 9:34am UTC](https://community.prismic.io/t/cannot-get-the-essential-slices-to-function-in-new-project/6186/14 "2021-09-02T09:34:37Z")

</div>

Hello @hayes.ryan83

Sorry for the delayed update. The essential slices should be available in the example projects.

Thanks,  
Priyanka

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)\
**Post date:** [September 6, 2021, 3:09pm UTC](https://community.prismic.io/t/cannot-get-the-essential-slices-to-function-in-new-project/6186/15 "2021-09-06T15:09:06Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)\
**Post date:** [December 9, 2021, 3:27pm UTC](https://community.prismic.io/t/cannot-get-the-essential-slices-to-function-in-new-project/6186/16 "2021-12-09T15:27:31Z")

</div>


