hi13
(Emil Olsson)
February 22, 2021, 3:54pm
1
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.
Phil
(Phil Snow)
February 22, 2021, 4:29pm
2
Hi Emil,
Welcome to the community! I'll be happy to help you debug this.
Can you tell me 2 things:
The URL of your repo
The version of your CLI, you can check this with prismic --version
Thanks.
hi13
(Emil Olsson)
February 22, 2021, 5:01pm
4
Thanks Phil! prismic --version gives me 3.7.11 and the repository name is prismicbase (https://prismicbase.prismic.io/ )
Phil
(Phil Snow)
March 4, 2021, 11:05am
5
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.
Thanks.