# Vidly-api-node Backend, npm i doesn't work

**URL:** <https://forum.codewithmosh.com/t/vidly-api-node-backend-npm-i-doesnt-work/8424>\
**Category:** React\
**Created:** [November 10, 2021, 7:56am UTC](https://forum.codewithmosh.com/t/vidly-api-node-backend-npm-i-doesnt-work/8424 "2021-11-10T07:56:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Viktrix](https://avatars.discourse-cdn.com/v4/letter/v/b3f665/32.png) [@Viktrix](https://forum.codewithmosh.com/u/Viktrix)\
**Post date:** [November 10, 2021, 7:56am UTC](https://forum.codewithmosh.com/t/vidly-api-node-backend-npm-i-doesnt-work/8424/1 "2021-11-10T07:56:17Z")

</div>

Hi, my name is Viktor,  
I am at like 75% of Mosh’s React course and now I am stuck at problem.  
When I try execute command npm i on vidly-api-node I got like 200 errors on start it’s saying something like node\_modules/bcrypt.I don’t even know what is name of error. If anyone has the same problem I will really appreciate your help.

---

<div class="post-metadata">

**Author:** ![Viktrix](https://avatars.discourse-cdn.com/v4/letter/v/b3f665/32.png) [@Viktrix](https://forum.codewithmosh.com/u/Viktrix)\
**Post date:** [November 10, 2021, 10:17am UTC](https://forum.codewithmosh.com/t/vidly-api-node-backend-npm-i-doesnt-work/8424/2 "2021-11-10T10:17:19Z")

</div>

SOLVED:  
There was an npm module called bcrypt.  
I removed it from package.json and reinstalled it like this:

> npm i bcrypt

and now it works.

---

<div class="post-metadata">

**Author:** ![ThangTruong](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/thangtruong/32/3223_2.png) [@ThangTruong](https://forum.codewithmosh.com/u/ThangTruong)\
**Post date:** [February 7, 2022, 5:21am UTC](https://forum.codewithmosh.com/t/vidly-api-node-backend-npm-i-doesnt-work/8424/3 "2022-02-07T05:21:27Z")

</div>

Hi Viktrix,

I enrolled the course as well and getting stuck at the step Calling Backend Services as vidly-api-node does not work for me. I am strongly believe that we need to install correct libraries. I moved folders which provided from mosh in the section and then start with node seed.js. It thought out a lot of errors. I was trying to install libraries according to the errors but still could not start connected to services. Please see my errors.

 ![error-save-movie-axios-put-2](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/8/8bd2d5e1ccf32e7c11b266d47899d23e7dba44ec.png)

If you don’t mind please help me to fix the errors to make sure the vidly-api-node working smothly for me to continue the rest of the courses.

Thank you for your time.  
Best regards,  
Thang

---

<div class="post-metadata">

**Author:** ![ThangTruong](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/thangtruong/32/3223_2.png) [@ThangTruong](https://forum.codewithmosh.com/u/ThangTruong)\
**Post date:** [February 7, 2022, 5:32am UTC](https://forum.codewithmosh.com/t/vidly-api-node-backend-npm-i-doesnt-work/8424/4 "2022-02-07T05:32:59Z")

</div>

Thank you very much Viktrix. I deleted the package.json and re-installed dependencies and i am able to connected to mongodb for now.

 ![connected_db_session8](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/6/68945983cf059487b5b2ee3f69da88d7338df82d.png)

Regards,  
Thang
