Hey there! For a project of mine, I tried to set it up w/ prismic for the first time.
Steps I took so far:
Created account -> created new repo -> tried to import it into my current project.
But unfortunately this doesn't work. I'm getting an error which has, as far as I get it, something todo with prettier. But I'm not sure and better said, idk what to do tbh.
So when I try:
npx @slicemachine/init@latest --repository xyz
I'm gettin' this error:
Command failed with exit code 1: npm i -D slice-machine-ui@latest @slicemachine/adapter-sveltekit@latest --color=always --loglevel=info
[...]
code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @slicemachine/adapter-sveltekit@0.3.32
npm ERR! Found: prettier@2.8.8
npm ERR! node_modules/prettier
npm ERR! peer prettier@"^1.16.4 || ^2.0.0" from prettier-plugin-svelte@2.10.1
npm ERR! node_modules/prettier-plugin-svelte
npm ERR! dev prettier-plugin-svelte@"^2.10.1" from the root project
npm ERR! dev prettier@"^2.8.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peerOptional prettier@">=3" from @slicemachine/adapter-sveltekit@0.3.32
npm ERR! node_modules/@slicemachine/adapter-sveltekit
npm ERR! dev @slicemachine/adapter-sveltekit@"0.3.32" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: prettier@3.2.1
npm ERR! node_modules/prettier
npm ERR! peerOptional prettier@">=3" from @slicemachine/adapter-sveltekit@0.3.32
npm ERR! node_modules/@slicemachine/adapter-sveltekit
npm ERR! dev @slicemachine/adapter-sveltekit@"0.3.32" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
Hope somebody knows a solution