Create-slice behaves differently since prismic-cli 4.2

Hello Peter, thanks for reaching out!

--create-slice is a legacy command that is no longer available to create new Slices. Now you should use Slice Machine that helps you create your Slices visually:
https://prismic.io/docs/technologies/create-and-model-a-component-nextjs

We've mentioned this in other threads. Here's some useful advice: