# Tutorial Series (Nuxt + Prismic) error with prismic sm --create slice

**URL:** <https://community.prismic.io/t/tutorial-series-nuxt-prismic-error-with-prismic-sm-create-slice/4213>\
**Category:** Developing with Prismic\
**Tags:** nuxtjs\
**Created:** [February 22, 2021, 3:54pm UTC](https://community.prismic.io/t/tutorial-series-nuxt-prismic-error-with-prismic-sm-create-slice/4213 "2021-02-22T15:54:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![hi13](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/hi13/32/1761_2.png) [@hi13](https://community.prismic.io/u/hi13)\
**Post date:** [February 22, 2021, 3:54pm UTC](https://community.prismic.io/t/tutorial-series-nuxt-prismic-error-with-prismic-sm-create-slice/4213/1 "2021-02-22T15:54:04Z")

</div>

Hello, I'm following your great Tutorial Series on Nuxt and Prismic. I get stuck when trying to create a component template with prismic sm --create slice from the terminal. I get the following error:

information\_source Could not create slice BannerSlice in Prismic. 07:43:46 ERROR Error: [fetch] An unexpected (404) Error occured. 07:43:46 Url: [https://prismicbase.prismic.io/customtypes?withSlices=true](https://prismicbase.prismic.io/customtypes?withSlices=true)

(I am logged in)

What am I doing wrong? I have followed the tutorial precisely.

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [February 22, 2021, 4:29pm UTC](https://community.prismic.io/t/tutorial-series-nuxt-prismic-error-with-prismic-sm-create-slice/4213/2 "2021-02-22T16:29:49Z")

</div>

Hi Emil,

Welcome to the community! I'll be happy to help you debug this.

Can you tell me 2 things:

1. The URL of your repo
2. The version of your CLI, you can check this with `prismic --version`

Thanks.

---

<div class="post-metadata">

**Author:** ![hi13](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/hi13/32/1761_2.png) [@hi13](https://community.prismic.io/u/hi13)\
**Post date:** [February 22, 2021, 5:01pm UTC](https://community.prismic.io/t/tutorial-series-nuxt-prismic-error-with-prismic-sm-create-slice/4213/4 "2021-02-22T17:01:13Z")

</div>

Thanks Phil! prismic --version gives me 3.7.11 and the repository name is prismicbase ([https://prismicbase.prismic.io/](https://prismicbase.prismic.io/))

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [March 4, 2021, 11:05am UTC](https://community.prismic.io/t/tutorial-series-nuxt-prismic-error-with-prismic-sm-create-slice/4213/5 "2021-03-04T11:05:35Z")

</div>

Hi Emil,

I'm so sorry I never got back to you. This got lost in my backlog.

Can you update to the latest version of the CLI:

> **[prismic-cli](https://www.npmjs.com/package/prismic-cli)**
>
> Command line to bootstrap prismic projects.

Then try running `prismic logout` and after `prismic login`. Once you've done this try running the `prismic sm --create-slice` command again.

Thanks.

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [March 22, 2021, 3:21pm UTC](https://community.prismic.io/t/tutorial-series-nuxt-prismic-error-with-prismic-sm-create-slice/4213/6 "2021-03-22T15:21:17Z")

</div>

closed on March 22, 2021, 3:21pm UTC, flag & select 'Something Else' to reopen.



---

<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, 4:53pm UTC](https://community.prismic.io/t/tutorial-series-nuxt-prismic-error-with-prismic-sm-create-slice/4213/7 "2021-12-09T16:53:41Z")

</div>

Opened on December 9, 2021, 4:53pm UTC


