# Error: Cannot find package

**URL:** <https://community.postman.com/t/error-cannot-find-package/60575>\
**Category:** Help Hub\
**Tags:** scripts, bug, package-library\
**Created:** [May 2, 2024, 5:09pm UTC](https://community.postman.com/t/error-cannot-find-package/60575 "2024-05-02T17:09:32Z")\
**Posts on this page:** 11\
**Page:** 2

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [May 6, 2024, 5:59pm UTC](https://community.postman.com/t/error-cannot-find-package/60575/21 "2024-05-06T17:59:04Z")

</div>

Good news folks - we have pushed out a fix for the issue seen by the Windows users.

If you update your Postman version, this should now be working.

Could someone with a Windows machine please confirm this please. 🙏🏻

---

<div class="post-metadata">

**Author:** ![hiebs915](https://avatars.discourse-cdn.com/v4/letter/h/f08c70/32.png) [@hiebs915](https://community.postman.com/u/hiebs915)\
**Post date:** [May 6, 2024, 6:21pm UTC](https://community.postman.com/t/error-cannot-find-package/60575/22 "2024-05-06T18:21:39Z")

</div>

I’m on a Windows machine and just tried the `postman_logger` library and it seems to work.

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [May 6, 2024, 6:23pm UTC](https://community.postman.com/t/error-cannot-find-package/60575/23 "2024-05-06T18:23:40Z")

</div>

Thanks @hiebs915 🏆

Appreciate you responding ❤

---

<div class="post-metadata">

**Author:** ![mzimmerman01](https://avatars.discourse-cdn.com/v4/letter/m/e9c0ed/32.png) [@mzimmerman01](https://community.postman.com/u/mzimmerman01)\
**Post date:** [May 6, 2024, 6:41pm UTC](https://community.postman.com/t/error-cannot-find-package/60575/24 "2024-05-06T18:41:16Z")

</div>

I took a look at some of the API calls that were erroring before, and they look good now. Thank you guys so much for the quick turn around on this issue.

---

<div class="post-metadata">

**Author:** ![altimetry-explorer14](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@altimetry-explorer14](https://community.postman.com/u/altimetry-explorer14)\
**Post date:** [May 6, 2024, 7:48pm UTC](https://community.postman.com/t/error-cannot-find-package/60575/25 "2024-05-06T19:48:33Z")

</div>

Still seeing the issue on Mac, when running all tests in collection, does not occur when running individual tests.

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [May 6, 2024, 8:12pm UTC](https://community.postman.com/t/error-cannot-find-package/60575/26 "2024-05-06T20:12:15Z")

</div>

Can you provide more context and the script you’re using?

Without more information, it’s difficult to triage what’s happening for you.

Screenshots will also help here too. 🙏🏻

---

<div class="post-metadata">

**Author:** ![altimetry-explorer14](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@altimetry-explorer14](https://community.postman.com/u/altimetry-explorer14)\
**Post date:** [May 6, 2024, 8:27pm UTC](https://community.postman.com/t/error-cannot-find-package/60575/27 "2024-05-06T20:27:10Z")

</div>

Sure, all the requests pass when they are run individually, but when running the whole collection, I get the error that it cannot find the package.  
Here is an example of one of the scripts, This collection is just validating with invalid login tokens, so they are all using the same package. here is an example of one of those post request scripts

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/f/8/f8f1003bca632680cfd84e7826c11066c5c22347.png)  
And the package itself.  
 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/0/3/039179168fc6308e49bfa0eafef06b56bea13042.png)  
These all pass when individually ran, showing 2/2 tests pass. But when running the whole collection, after 100 or so requests run, the following error shows, and the test run stops. Running the failed test individually passes as expected.  
 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/f/b/fb43b66fdfa76ed6909ae7dee0bbe772a4d1f3de.png)

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [May 6, 2024, 8:37pm UTC](https://community.postman.com/t/error-cannot-find-package/60575/28 "2024-05-06T20:37:54Z")

</div>

This looks like a different issue so can we create a new topic so that we can close out this one.

I just don’t want to ping everyone in the thread with an unrelated (to the original issue) problem.

---

<div class="post-metadata">

**Author:** ![payload-geoscienti29](https://avatars.discourse-cdn.com/v4/letter/p/96bed5/32.png) [@payload-geoscienti29](https://community.postman.com/u/payload-geoscienti29)\
**Post date:** [May 7, 2024, 10:56am UTC](https://community.postman.com/t/error-cannot-find-package/60575/29 "2024-05-07T10:56:39Z")

</div>

Working fine now. Facing another issue in the package

> [@TypeError: Cannot read properties of undefined (reading 'map](https://community.postman.com/t/typeerror-cannot-read-properties-of-undefined-reading-map/60754):
>
> Created a package with function and invoked from request. But getting error Package: function extractTable(variableName) { var Itemdata = responseBody.map(item =\> item[variableName]); pm.environment.set(variableName, JSON.stringify(Itemdata)); } module.exports = { extractTable } Script: const db = pm.require(‘@zz-xxxx-yy/processcollectionvariable’); db.extractTable(‘itetest’); Error : Couldn’t evaluate the test script: TypeError: Cannot read properties of undefined (reading ‘map’)

---

<div class="post-metadata">

**Author:** ![sgurungcassini](https://avatars.discourse-cdn.com/v4/letter/s/46a35a/32.png) [@sgurungcassini](https://community.postman.com/u/sgurungcassini)\
**Post date:** [May 8, 2024, 10:10am UTC](https://community.postman.com/t/error-cannot-find-package/60575/30 "2024-05-08T10:10:02Z")

</div>

Thank you Postman team for the quick turnaround. I can confirm that I no longer experience the package not found bug anymore.

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [May 8, 2024, 10:15am UTC](https://community.postman.com/t/error-cannot-find-package/60575/31 "2024-05-08T10:15:46Z")

</div>

Closed on May 8, 2024, 10:15am UTC



[Previous page](https://community.postman.com/t/error-cannot-find-package/60575.md?page=1)
