# Newman, cannot find module 'chai'

**URL:** <https://community.postman.com/t/newman-cannot-find-module-chai/1009>\
**Category:** Help Hub\
**Created:** [February 21, 2018, 8:55am UTC](https://community.postman.com/t/newman-cannot-find-module-chai/1009 "2018-02-21T08:55:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tosh](https://avatars.discourse-cdn.com/v4/letter/t/58956e/32.png) [@tosh](https://community.postman.com/u/tosh)\
**Post date:** [February 21, 2018, 8:55am UTC](https://community.postman.com/t/newman-cannot-find-module-chai/1009/1 "2018-02-21T08:55:15Z")

</div>

I’m tryin to run my collections in newman, but are getting error: cannot find module 'chai’  
I have been doing npm install -g chai and npm install --save chai, but are still getting the same errormessage.

They’re running without problems through the runner.

Can someone give me a helping hand?

---

<div class="post-metadata">

**Author:** ![kunagpal](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/kunagpal/32/9_2.png) [@kunagpal](https://community.postman.com/u/kunagpal)\
**Post date:** [February 21, 2018, 9:06am UTC](https://community.postman.com/t/newman-cannot-find-module-chai/1009/2 "2018-02-21T09:06:42Z")

</div>

@tosh Which version of Newman are you trying to install? Could you also mention your npm version? This can be found via `npm -v`.

---

<div class="post-metadata">

**Author:** ![tosh](https://avatars.discourse-cdn.com/v4/letter/t/58956e/32.png) [@tosh](https://community.postman.com/u/tosh)\
**Post date:** [February 21, 2018, 9:22am UTC](https://community.postman.com/t/newman-cannot-find-module-chai/1009/3 "2018-02-21T09:22:01Z")

</div>

I’m using npm version = 4.2.0 and I assume an outdated newman version = 3.4.3?

---

<div class="post-metadata">

**Author:** ![kunagpal](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/kunagpal/32/9_2.png) [@kunagpal](https://community.postman.com/u/kunagpal)\
**Post date:** [February 21, 2018, 9:25am UTC](https://community.postman.com/t/newman-cannot-find-module-chai/1009/4 "2018-02-21T09:25:07Z")

</div>

Could you try installing the latest version of `newman` with `npm i -g newman` and let me know if that results in an error? Thanks!

---

<div class="post-metadata">

**Author:** ![tosh](https://avatars.discourse-cdn.com/v4/letter/t/58956e/32.png) [@tosh](https://community.postman.com/u/tosh)\
**Post date:** [February 21, 2018, 9:47am UTC](https://community.postman.com/t/newman-cannot-find-module-chai/1009/5 "2018-02-21T09:47:23Z")

</div>

newman version = 3.9.3  
Initiated tests from newman again, and now it worked.

Thanks!
