# Start-slicemachine is not recognized as an internal or external command after upgrade of slicemachine-ui

**URL:** <https://community.prismic.io/t/start-slicemachine-is-not-recognized-as-an-internal-or-external-command-after-upgrade-of-slicemachine-ui/13020>\
**Category:** Developing with Prismic\
**Tags:** nextjs, slice-machine\
**Created:** [May 2, 2023, 11:00am UTC](https://community.prismic.io/t/start-slicemachine-is-not-recognized-as-an-internal-or-external-command-after-upgrade-of-slicemachine-ui/13020 "2023-05-02T11:00:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Micheal](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/micheal/32/6069_2.png) [@Micheal](https://community.prismic.io/u/Micheal)\
**Post date:** [May 2, 2023, 11:00am UTC](https://community.prismic.io/t/start-slicemachine-is-not-recognized-as-an-internal-or-external-command-after-upgrade-of-slicemachine-ui/13020/1 "2023-05-02T11:00:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Pau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/pau/32/5422_2.png) [@Pau](https://community.prismic.io/u/Pau)\
**Post date:** [May 2, 2023, 4:46pm UTC](https://community.prismic.io/t/start-slicemachine-is-not-recognized-as-an-internal-or-external-command-after-upgrade-of-slicemachine-ui/13020/2 "2023-05-02T16:46:47Z")

</div>

have you tried running `npm run slicemachine`?

---

<div class="post-metadata">

**Author:** ![Micheal](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/micheal/32/6069_2.png) [@Micheal](https://community.prismic.io/u/Micheal)\
**Post date:** [May 2, 2023, 4:48pm UTC](https://community.prismic.io/t/start-slicemachine-is-not-recognized-as-an-internal-or-external-command-after-upgrade-of-slicemachine-ui/13020/5 "2023-05-02T16:48:30Z")

</div>

Turns out this is a pnpm issue. Changing to npm, and all works well. Can't figure out why it is happening.

---

<div class="post-metadata">

**Author:** ![gabriel.durr](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/gabriel.durr/32/4930_2.png) [@gabriel.durr](https://community.prismic.io/u/gabriel.durr)\
**Post date:** [May 8, 2023, 4:45am UTC](https://community.prismic.io/t/start-slicemachine-is-not-recognized-as-an-internal-or-external-command-after-upgrade-of-slicemachine-ui/13020/7 "2023-05-08T04:45:03Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Micheal](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/micheal/32/6069_2.png) [@Micheal](https://community.prismic.io/u/Micheal)\
**Post date:** [May 8, 2023, 8:10am UTC](https://community.prismic.io/t/start-slicemachine-is-not-recognized-as-an-internal-or-external-command-after-upgrade-of-slicemachine-ui/13020/8 "2023-05-08T08:10:31Z")

</div>

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](https://github.com/prismicio/slice-machine/issues/768)

---

<div class="post-metadata">

**Author:** ![Pierre-Yves](https://avatars.discourse-cdn.com/v4/letter/p/b5e925/32.png) [@Pierre-Yves](https://community.prismic.io/u/Pierre-Yves)\
**Post date:** [May 11, 2023, 6:42pm UTC](https://community.prismic.io/t/start-slicemachine-is-not-recognized-as-an-internal-or-external-command-after-upgrade-of-slicemachine-ui/13020/9 "2023-05-11T18:42:24Z")

</div>

I have the same issue with yarn.

---

<div class="post-metadata">

**Author:** ![Micheal](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/micheal/32/6069_2.png) [@Micheal](https://community.prismic.io/u/Micheal)\
**Post date:** [July 6, 2023, 8:23am UTC](https://community.prismic.io/t/start-slicemachine-is-not-recognized-as-an-internal-or-external-command-after-upgrade-of-slicemachine-ui/13020/12 "2023-07-06T08:23:01Z")

</div>

👏 👏 Now fixed for `pnpm` and `yarn` in the latest release of `slicemachine 1.4.0`
