# Node seed.js produced errors

**URL:** <https://forum.codewithmosh.com/t/node-seed-js-produced-errors/18560>\
**Category:** React\
**Created:** [March 6, 2023, 10:21am UTC](https://forum.codewithmosh.com/t/node-seed-js-produced-errors/18560 "2023-03-06T10:21:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bravono](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/bravono/32/3426_2.png) [@Bravono](https://forum.codewithmosh.com/u/Bravono)\
**Post date:** [March 6, 2023, 10:21am UTC](https://forum.codewithmosh.com/t/node-seed-js-produced-errors/18560/1 "2023-03-06T10:21:38Z")

</div>

In the React course - Calling Backend Services, video 20  
Mosh run “node seed.js” and the vidly database was added to mongoDB Compass  
But I got this error instead. Please how can I solve this problem.

 ![Seed Error](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/d/d279441604b2bf3a6ce7c800ebb1f63bea80d09a.png)

---

<div class="post-metadata">

**Author:** ![sufian.babri](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/sufian.babri/32/1028_2.png) [@sufian.babri](https://forum.codewithmosh.com/u/sufian.babri)\
**Post date:** [March 16, 2023, 2:50am UTC](https://forum.codewithmosh.com/t/node-seed-js-produced-errors/18560/2 "2023-03-16T02:50:09Z")

</div>

If you haven’t made any changes to seed.js then you should try executing it with the same version of node as Mosh.

---

<div class="post-metadata">

**Author:** ![Bravono](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/bravono/32/3426_2.png) [@Bravono](https://forum.codewithmosh.com/u/Bravono)\
**Post date:** [March 17, 2023, 12:01pm UTC](https://forum.codewithmosh.com/t/node-seed-js-produced-errors/18560/3 "2023-03-17T12:01:15Z")

</div>

Okay brother. I will just try that. Salam Alykun.

---

<div class="post-metadata">

**Author:** ![Bravono](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/bravono/32/3426_2.png) [@Bravono](https://forum.codewithmosh.com/u/Bravono)\
**Post date:** [March 26, 2023, 5:25pm UTC](https://forum.codewithmosh.com/t/node-seed-js-produced-errors/18560/4 "2023-03-26T17:25:03Z")

</div>

When I downloaded node version 16 and MongoDB version 3.6 everything works fine. Thank you very much for your help.
