Currently updated to slice machine 1.0.2 and I am having trouble running it when I run pnpm start-slicemachine.
Error : 'start-slicemachine' is not recognized as an internal or external command,
operable program or batch file.
I appreciate your help. Thanks
1 Like
Pau
May 2, 2023, 4:46pm
2
have you tried running npm run slicemachine
?
Turns out this is a pnpm issue. Changing to npm, and all works well. Can't figure out why it is happening.
2 Likes
I have the same problem, after installing and configuring the slicemachine "pnpx @slicemachine /init@latest", when running the script "pnpm run slicemachine", the error occurs:
ELIFECYCLE Command failed with exit code 1.
2 Likes
Shift your the project to use npm
for now. Hopefully the prismic team will fix this soon.
An issue was opened on this topic - Link
Pierre-Yves
(Pierre-Yves Caneill)
May 11, 2023, 6:42pm
9
I have the same issue with yarn.