I am using prismic with nuxt. Following this tutorial: https://prismic.io/docs/technologies/tutorial-series-introduction-nuxtjs
With prismic sm --create-slice
I created a slice.
Added the storybook: prismic sm --add-storybook
ran prismic sm --develop
in another terminal
I am perfectly able to see and modify my storybook.
But, in the slices, at localhost:9999: My slice has a tag 'error'. It false When I try to take the snapshot or Push to Prismic.
I get Bad Request 400: Screenshot not found. Please check that file exists in slice folder or in .slicemachine assets"
.slicemachime/assets/ do not have the preview. And Similarly, it is not able to push to prismic(because no screen captured).
I also get an error while running slice machine: start-slicemachine --port 9999
An error occured while migrating file system. Continuing...Full error: SyntaxError: Unexpected token export[slice-machine] Launching server
It launches and I can do changes, but can not see the snapshot or push to prismic.
PS: I haven't changed anything in the slice. It is as it is.
I have checked this with