# Error while installing slice machine

**URL:** <https://community.prismic.io/t/error-while-installing-slice-machine/12450>\
**Category:** Developing with Prismic\
**Tags:** nextjs\
**Created:** [February 15, 2023, 1:16pm UTC](https://community.prismic.io/t/error-while-installing-slice-machine/12450 "2023-02-15T13:16:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![a.mohammad](https://avatars.discourse-cdn.com/v4/letter/a/5fc32e/32.png) [@a.mohammad](https://community.prismic.io/u/a.mohammad)\
**Post date:** [February 15, 2023, 1:16pm UTC](https://community.prismic.io/t/error-while-installing-slice-machine/12450/1 "2023-02-15T13:16:18Z")

</div>

Hello guys, I've created a new project with nextjs, when I'm trying to run this command ( npx @slicemachine/init --repository my-project ) I get this error in my terminal

 ![Screenshot 2023-02-15 161430](https://europe1.discourse-cdn.com/flex013/uploads/prismic/original/2X/3/39d55aeb33e31e1f4201eb01372fae1cf3fe4379.png)

anyone can help ? and thank you in advance

---

<div class="post-metadata">

**Author:** ![racheal.orukele](https://avatars.discourse-cdn.com/v4/letter/r/ee7513/32.png) [@racheal.orukele](https://community.prismic.io/u/racheal.orukele)\
**Post date:** [February 15, 2023, 4:06pm UTC](https://community.prismic.io/t/error-while-installing-slice-machine/12450/3 "2023-02-15T16:06:20Z")

</div>

Hello @a.mohammad,

Welcome to Prismic community, and thanks for reaching out to us.

Can you tell me what is the node version and the Prismic CLI version you have? You can get that as the following.

```auto
node -v
prismic --version

```

I am looking forward to hearing from you back.

Thanks,  
Racheal.

---

<div class="post-metadata">

**Author:** ![a.mohammad](https://avatars.discourse-cdn.com/v4/letter/a/5fc32e/32.png) [@a.mohammad](https://community.prismic.io/u/a.mohammad)\
**Post date:** [February 16, 2023, 10:13am UTC](https://community.prismic.io/t/error-while-installing-slice-machine/12450/4 "2023-02-16T10:13:22Z")

</div>

Hello again and thank you for your response,

I'm sorry for late but I fixed the problem by doing npm install for all packages manually

---

<div class="post-metadata">

**Author:** ![racheal.orukele](https://avatars.discourse-cdn.com/v4/letter/r/ee7513/32.png) [@racheal.orukele](https://community.prismic.io/u/racheal.orukele)\
**Post date:** [February 16, 2023, 11:10am UTC](https://community.prismic.io/t/error-while-installing-slice-machine/12450/5 "2023-02-16T11:10:13Z")

</div>

@a.mohammad I'm glad to hear that. Let us know if you have any other questions.
