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

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

(I am logged in)

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

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 Phil! prismic --version gives me 3.7.11 and the repository name is prismicbase (https://prismicbase.prismic.io/)

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:

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