# Calling Backend Services

**URL:** <https://forum.codewithmosh.com/t/calling-backend-services/2530>\
**Category:** React\
**Created:** [February 8, 2021, 12:51pm UTC](https://forum.codewithmosh.com/t/calling-backend-services/2530 "2021-02-08T12:51:44Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Justly](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/justly/32/5800_2.png) [@Justly](https://forum.codewithmosh.com/u/Justly)\
**Post date:** [February 8, 2021, 12:51pm UTC](https://forum.codewithmosh.com/t/calling-backend-services/2530/1 "2021-02-08T12:51:44Z")

</div>

Having problem starting the node backend web development server.  
Anytime I run node index.js on the vidly-api-node directory in command prompt I get an error.  
So how can i fix it?

---

<div class="post-metadata">

**Author:** ![Augustine\_Awuori](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/augustine_awuori/32/873_2.png) [@Augustine\_Awuori](https://forum.codewithmosh.com/u/Augustine_Awuori)\
**Post date:** [February 8, 2021, 3:02pm UTC](https://forum.codewithmosh.com/t/calling-backend-services/2530/2 "2021-02-08T15:02:55Z")

</div>

Try the following:  
npm install node-gyp -g  
npm install bcrypt -g  
npm install bcrypt --save

It worked for me

---

<div class="post-metadata">

**Author:** ![Terence](https://avatars.discourse-cdn.com/v4/letter/t/aca169/32.png) [@Terence](https://forum.codewithmosh.com/u/Terence)\
**Post date:** [February 9, 2021, 2:47am UTC](https://forum.codewithmosh.com/t/calling-backend-services/2530/3 "2021-02-09T02:47:57Z")

</div>

> [@Justly](#):
>
> on the vidly-api-node directory in

try to run npm i to install all the Dependencies

---

<div class="post-metadata">

**Author:** ![Justly](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/justly/32/5800_2.png) [@Justly](https://forum.codewithmosh.com/u/Justly)\
**Post date:** [February 13, 2021, 1:57pm UTC](https://forum.codewithmosh.com/t/calling-backend-services/2530/4 "2021-02-13T13:57:39Z")

</div>

Ok thank you  
I’ll try it.

---

<div class="post-metadata">

**Author:** ![jufriazzq](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jufriazzq](https://forum.codewithmosh.com/u/jufriazzq)\
**Post date:** [February 16, 2021, 3:13am UTC](https://forum.codewithmosh.com/t/calling-backend-services/2530/5 "2021-02-16T03:13:05Z")

</div>

it’s not working for me

---

<div class="post-metadata">

**Author:** ![Justly](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/justly/32/5800_2.png) [@Justly](https://forum.codewithmosh.com/u/Justly)\
**Post date:** [February 16, 2021, 11:39am UTC](https://forum.codewithmosh.com/t/calling-backend-services/2530/6 "2021-02-16T11:39:02Z")

</div>

it’s not working for me either

---

<div class="post-metadata">

**Author:** ![jufriazzq](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jufriazzq](https://forum.codewithmosh.com/u/jufriazzq)\
**Post date:** [February 16, 2021, 3:28pm UTC](https://forum.codewithmosh.com/t/calling-backend-services/2530/7 "2021-02-16T15:28:54Z")

</div>

you can try to `npm uninstall bcrypt` first the install `npm i bcryptjs`

---

<div class="post-metadata">

**Author:** ![Justly](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/justly/32/5800_2.png) [@Justly](https://forum.codewithmosh.com/u/Justly)\
**Post date:** [October 21, 2021, 2:59pm UTC](https://forum.codewithmosh.com/t/calling-backend-services/2530/8 "2021-10-21T14:59:35Z")

</div>

Thanks.  
But am done with course though I really appreciate
