# \#package-library

**URL:** https://community.postman.com/tag/package-library/702.md

[Latest](https://community.postman.com/latest.md) · [Categories](https://community.postman.com/categories.md) · [Tags](https://community.postman.com/tags.md)

---

## [\[Postman App\]\[Package Library\] When trying to open a package in postman app, it returns error](https://community.postman.com/t/postman-app-package-library-when-trying-to-open-a-package-in-postman-app-it-returns-error/90676)

<div class="topic-metadata">

**Author:** [@joint-operations-ph5](https://community.postman.com/u/joint-operations-ph5)\
**Replies:** 1\
**Last updated:** [May 28, 2026, 6:24pm UTC](https://community.postman.com/t/postman-app-package-library-when-trying-to-open-a-package-in-postman-app-it-returns-error/90676 "2026-05-28T18:24:21Z")

</div>

Postman app Windows version - v12.12.3 Given Package is created When I go to a request from a collection And move to Pre-script And at the bottom right corner open packages - my package Then A new window opens with …

---

## [Error: Cannot find package '@namespaceID/functions](https://community.postman.com/t/error-cannot-find-package-namespaceid-functions/86566)

<div class="topic-metadata">

**Author:** [@telecoms-meteorolo12](https://community.postman.com/u/telecoms-meteorolo12)\
**Replies:** 5\
**Last updated:** [November 8, 2025, 8:37am UTC](https://community.postman.com/t/error-cannot-find-package-namespaceid-functions/86566 "2025-11-08T08:37:16Z")

</div>

Getting Error:Cannot find package '@ssp-team-1861/functions even though the script line has been auto written in the script. At start, it worked fine. After some hours , getting this error for the same script

---

## [💡 "Postman Can’t Automatically Clear/Reset Variables"? Here’s How It Can!](https://community.postman.com/t/postman-can-t-automatically-clear-reset-variables-here-s-how-it-can/85605)

<div class="topic-metadata">

**Author:** [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Replies:** 4\
**Last updated:** [October 24, 2025, 10:39pm UTC](https://community.postman.com/t/postman-can-t-automatically-clear-reset-variables-here-s-how-it-can/85605 "2025-10-24T22:39:48Z")

</div>

Background: Community Feedback This post was inspired by a comment from @abdulkabirsultan in a previous weekly challenge, who pointed out that environment variables can linger after runs and cause test issues. ▶ See the …

---

## [Sharing packages from package library](https://community.postman.com/t/sharing-packages-from-package-library/74473)

<div class="topic-metadata">

**Author:** [@ahmedahmedeg](https://community.postman.com/u/ahmedahmedeg)\
**Replies:** 10\
**Last updated:** [October 20, 2025, 11:25am UTC](https://community.postman.com/t/sharing-packages-from-package-library/74473 "2025-10-20T11:25:24Z")

</div>

What’s the options I have to be able to share the package I wrote inside my package library with others? I couldn’t find a way to export them, when I export a collection that depends on them It includes the id of the pa…

---

## [Partner Workspace limitation: Internal Script Packages not allowed](https://community.postman.com/t/partner-workspace-limitation-internal-script-packages-not-allowed/85471)

<div class="topic-metadata">

**Author:** [@devdeer-andrii](https://community.postman.com/u/devdeer-andrii)\
**Replies:** 2\
**Last updated:** [October 14, 2025, 1:13pm UTC](https://community.postman.com/t/partner-workspace-limitation-internal-script-packages-not-allowed/85471 "2025-10-14T13:13:30Z")

</div>

Hi everyone, After converting our Internal Workspace into a Partner Workspace, we lost access to our Private Script Packages. Our internal packages contained shared logic that used pm.\* functions (pm.sendRequest, pm.he…

---

## [Can we get the common JS functions from GIT or from a network path to Postman pre/post script](https://community.postman.com/t/can-we-get-the-common-js-functions-from-git-or-from-a-network-path-to-postman-pre-post-script/85360)

<div class="topic-metadata">

**Author:** [@kdayalan](https://community.postman.com/u/kdayalan)\
**Replies:** 16\
**Last updated:** [October 9, 2025, 4:50pm UTC](https://community.postman.com/t/can-we-get-the-common-js-functions-from-git-or-from-a-network-path-to-postman-pre-post-script/85360 "2025-10-09T16:50:44Z")

</div>

Hi Is there a way to use the Common JS functions from a GIT repo or from a Network path within Postman pre request script/Post request script. Thank you Kavitha

---

## [\`pm.require is not a function\` Error During Performance Tests](https://community.postman.com/t/pm-require-is-not-a-function-error-during-performance-tests/82901)

<div class="topic-metadata">

**Author:** [@devdeer-andrii](https://community.postman.com/u/devdeer-andrii)\
**Replies:** 4\
**Last updated:** [July 29, 2025, 2:36pm UTC](https://community.postman.com/t/pm-require-is-not-a-function-error-during-performance-tests/82901 "2025-07-29T14:36:41Z")

</div>

Hi, I’m encountering the following runtime error only during performance testing: pm.require is not a function This does not occur during manual request execution. Context and Setup To isolate the issue, I’ve set up…

---

## [Access to package library hangs in app and web](https://community.postman.com/t/access-to-package-library-hangs-in-app-and-web/81539)

<div class="topic-metadata">

**Author:** [@lunar-module-explor2](https://community.postman.com/u/lunar-module-explor2)\
**Replies:** 4\
**Last updated:** [June 26, 2025, 1:02pm UTC](https://community.postman.com/t/access-to-package-library-hangs-in-app-and-web/81539 "2025-06-26T13:02:09Z")

</div>

Until about an hour ago, I had no problem seeing my packages in the Package Library. Now, for about the past 30 minutes, No packages are visible and the UI hangs… does not display anything, event though I’ve created th…

---

## [Unable to search for packages in Postman script](https://community.postman.com/t/unable-to-search-for-packages-in-postman-script/79025)

<div class="topic-metadata">

**Author:** [@tungnat-prdcv](https://community.postman.com/u/tungnat-prdcv)\
**Replies:** 4\
**Last updated:** [April 23, 2025, 11:06am UTC](https://community.postman.com/t/unable-to-search-for-packages-in-postman-script/79025 "2025-04-23T11:06:29Z")

</div>

I try to search for NPM packages in Postman script section but it keeps returning no result. Turn out search api returns 401 Unauthorized error Can anyone take a look at this case?

---

## [Is there a easy way to define functions to use across multiple requests that is not the eval](https://community.postman.com/t/is-there-a-easy-way-to-define-functions-to-use-across-multiple-requests-that-is-not-the-eval/9272)

<div class="topic-metadata">

**Author:** [@cstmgl](https://community.postman.com/u/cstmgl)\
**Replies:** 1\
**Last updated:** [April 14, 2025, 3:53pm UTC](https://community.postman.com/t/is-there-a-easy-way-to-define-functions-to-use-across-multiple-requests-that-is-not-the-eval/9272 "2025-04-14T15:53:05Z")

</div>

hi all, I’m here to see if there is a better way of doing “How to reuse Postman scripts and tests among different test cases” without using the eval method? I want to do something like why described here: open to define…

---

## [Unable to run scripts from Package Library via Newman](https://community.postman.com/t/unable-to-run-scripts-from-package-library-via-newman/66039)

<div class="topic-metadata">

**Author:** [@technical-engineer16](https://community.postman.com/u/technical-engineer16)\
**Replies:** 18\
**Last updated:** [January 31, 2025, 5:16pm UTC](https://community.postman.com/t/unable-to-run-scripts-from-package-library-via-newman/66039 "2025-01-31T17:16:17Z")

</div>

Archived topic — this may be out of date. Newman has been replaced by the Postman CLI, Postman’s official, signed command-line tool. It runs collections as Newman did, and also lints API specs, runs mocks and monitors,…

---

## [Using package-library functions](https://community.postman.com/t/using-package-library-functions/74368)

<div class="topic-metadata">

**Author:** [@csc-ganesh-kumar](https://community.postman.com/u/csc-ganesh-kumar)\
**Replies:** 1\
**Last updated:** [January 27, 2025, 10:42am UTC](https://community.postman.com/t/using-package-library-functions/74368 "2025-01-27T10:42:23Z")

</div>

I am starting to use Package Library and defining functions in the library according to this article - Add internal scripts to the Package Library in Postman | Postman Docs So far so good. One thing I find cumbersome a…

---

## [The Postman Drop: September Edition](https://community.postman.com/t/the-postman-drop-september-edition/68076)

<div class="topic-metadata">

**Author:** [@postman-drop](https://community.postman.com/u/postman-drop)\
**Replies:** 0\
**Last updated:** [September 5, 2024, 4:48pm UTC](https://community.postman.com/t/the-postman-drop-september-edition/68076 "2024-09-05T16:48:45Z")

</div>

For many of us around the world, summer is winding down (Australia: no need to rub it in). The last few months have been filled with picnics in the park, family vacations, and pool parties, and we’re not ready to say goo…

---

## [Using a package from a second package](https://community.postman.com/t/using-a-package-from-a-second-package/69894)

<div class="topic-metadata">

**Author:** [@tibiextera](https://community.postman.com/u/tibiextera)\
**Replies:** 6\
**Last updated:** [December 6, 2024, 8:45pm UTC](https://community.postman.com/t/using-a-package-from-a-second-package/69894 "2024-12-06T20:45:50Z")

</div>

I have created two packages. Let’s call them ‘a’ and ‘b’ for my team ‘t’. In package b I would like to call myFunction from package a. I have tried the following: // package b const a = pm.require('@t/a'); function m…

---

## [Requiring a package from the package library is unreliable](https://community.postman.com/t/requiring-a-package-from-the-package-library-is-unreliable/71733)

<div class="topic-metadata">

**Author:** [@tibiextera](https://community.postman.com/u/tibiextera)\
**Replies:** 1\
**Last updated:** [November 26, 2024, 7:21pm UTC](https://community.postman.com/t/requiring-a-package-from-the-package-library-is-unreliable/71733 "2024-11-26T19:21:35Z")

</div>

The problem (aka bug) I am using Postman on Windows 11. I have created a package named ‘extera-explorer-api’ and I am trying to use it in a post request script. The package contains at the bottom the exports: module.e…

---

## [Package Library keyboard shortcut?](https://community.postman.com/t/package-library-keyboard-shortcut/71458)

<div class="topic-metadata">

**Author:** [@cruxto](https://community.postman.com/u/cruxto)\
**Replies:** 0\
**Last updated:** [November 20, 2024, 10:55am UTC](https://community.postman.com/t/package-library-keyboard-shortcut/71458 "2024-11-20T10:55:18Z")

</div>

Hi Guys, Quick question, does anyone know if there is a keyboard shortcut to open the package library? Instead of drilling through the UI to do it. I don’t see it in the settings of Postman. Postbot but now Package …

---

## [Can't use packages from gRPC before/after scripts](https://community.postman.com/t/cant-use-packages-from-grpc-before-after-scripts/70722)

<div class="topic-metadata">

**Author:** [@descent-module-ast18](https://community.postman.com/u/descent-module-ast18)\
**Replies:** 1\
**Last updated:** [November 1, 2024, 2:42pm UTC](https://community.postman.com/t/cant-use-packages-from-grpc-before-after-scripts/70722 "2024-11-01T14:42:22Z")

</div>

I’m trying to leverage the new package functionality from gRPC before invoke/after response scripts but I get a TypeError: pm.require is not a function. Are packages not supported for the gRPC flow? For version: Versio…

---

## [Exporting a package library](https://community.postman.com/t/exporting-a-package-library/70370)

<div class="topic-metadata">

**Author:** [@rivastomas71](https://community.postman.com/u/rivastomas71)\
**Replies:** 0\
**Last updated:** [October 24, 2024, 8:49pm UTC](https://community.postman.com/t/exporting-a-package-library/70370 "2024-10-24T20:49:38Z")

</div>

Is there an option within Postman to export a package library used by a collection?

---

## [Postman Packages](https://community.postman.com/t/postman-packages/68921)

<div class="topic-metadata">

**Author:** [@mshishodia](https://community.postman.com/u/mshishodia)\
**Replies:** 1\
**Last updated:** [September 26, 2024, 1:54pm UTC](https://community.postman.com/t/postman-packages/68921 "2024-09-26T13:54:13Z")

</div>

Can we export Packages like collection if not then how we can use these package with exported collection which are running on remote/ company jenkins?

---

## [Sometimes my package can't be accessed](https://community.postman.com/t/sometimes-my-package-cant-be-accessed/67914)

<div class="topic-metadata">

**Author:** [@lunar-module-operat5](https://community.postman.com/u/lunar-module-operat5)\
**Replies:** 1\
**Last updated:** [September 4, 2024, 4:05pm UTC](https://community.postman.com/t/sometimes-my-package-cant-be-accessed/67914 "2024-09-04T16:05:41Z")

</div>

While working on writing and debugging tests, I will often have my packages no longer be accessible. I get Error: Cannot find package in the console. However, if I quit and restart the Poastman app, it comes back and wor…

---

## [Error in package Unexpected token](https://community.postman.com/t/error-in-package-unexpected-token/67791)

<div class="topic-metadata">

**Author:** [@technical-engineer16](https://community.postman.com/u/technical-engineer16)\
**Replies:** 6\
**Last updated:** [September 2, 2024, 11:32am UTC](https://community.postman.com/t/error-in-package-unexpected-token/67791 "2024-09-02T11:32:01Z")

</div>

hi, I am using packages and just suddenly I didn’t change a thing getting this error. So I tried to update the Postman version it didn’t work. Closed clean the cash still the same error. I removed the package and impo…

---

## [The intellisense popout truncates long strings](https://community.postman.com/t/the-intellisense-popout-truncates-long-strings/65982)

<div class="topic-metadata">

**Author:** [@technical-engineer16](https://community.postman.com/u/technical-engineer16)\
**Replies:** 1\
**Last updated:** [August 12, 2024, 1:18pm UTC](https://community.postman.com/t/the-intellisense-popout-truncates-long-strings/65982 "2024-08-12T13:18:48Z")

</div>

It seems to me that no one tested it!!!

---

## [Postman CLI - Error While Loading Package](https://community.postman.com/t/postman-cli-error-while-loading-package/62508)

<div class="topic-metadata">

**Author:** [@andrewfreyman](https://community.postman.com/u/andrewfreyman)\
**Replies:** 6\
**Last updated:** [July 1, 2024, 11:52am UTC](https://community.postman.com/t/postman-cli-error-while-loading-package/62508 "2024-07-01T11:52:11Z")

</div>

Attempting to use Postman CLI to run a collection which uses a package in a post-request script. Logged into CLI with API Key. Collection being referenced by ID. Environment being referenced by ID. Folders being referenc…

---

## [Newman error for package library scripts](https://community.postman.com/t/newman-error-for-package-library-scripts/62652)

<div class="topic-metadata">

**Author:** [@spacecraft-technol17](https://community.postman.com/u/spacecraft-technol17)\
**Replies:** 1\
**Last updated:** [June 26, 2024, 4:01pm UTC](https://community.postman.com/t/newman-error-for-package-library-scripts/62652 "2024-06-26T16:01:12Z")

</div>

Archived topic — this may be out of date. Newman has been replaced by the Postman CLI, Postman’s official, signed command-line tool. It runs collections as Newman did, and also lints API specs, runs mocks and monitors,…

---

## [Update packages and scripts through API](https://community.postman.com/t/update-packages-and-scripts-through-api/61616)

<div class="topic-metadata">

**Author:** [@mvezina-asyhp](https://community.postman.com/u/mvezina-asyhp)\
**Replies:** 2\
**Last updated:** [June 4, 2024, 6:52pm UTC](https://community.postman.com/t/update-packages-and-scripts-through-api/61616 "2024-06-04T18:52:31Z")

</div>

Hello, With the release of Postman 11, I was searching for a way to add or update custom packages in the package library through Postman’s API. I can’t find anything in the the schema regarding this. Was it added? Also…

---

## [Error: Cannot find package in eval statement](https://community.postman.com/t/error-cannot-find-package-in-eval-statement/61428)

<div class="topic-metadata">

**Author:** [@mwk12](https://community.postman.com/u/mwk12)\
**Replies:** 2\
**Last updated:** [May 24, 2024, 1:49pm UTC](https://community.postman.com/t/error-cannot-find-package-in-eval-statement/61428 "2024-05-24T13:49:30Z")

</div>

For testing purposes I created a simple Package Library named logger: function logger() { console.log(“Test”); } module.exports = { logger, } Then, I tried using it in a eval statement in pre-script of a request: …

---

## [How to use package Library in newman](https://community.postman.com/t/how-to-use-package-library-in-newman/60795)

<div class="topic-metadata">

**Author:** [@shid19nov](https://community.postman.com/u/shid19nov)\
**Replies:** 5\
**Last updated:** [May 9, 2024, 9:33am UTC](https://community.postman.com/t/how-to-use-package-library-in-newman/60795 "2024-05-09T09:33:38Z")

</div>

Archived topic — this may be out of date. Newman has been replaced by the Postman CLI, Postman’s official, signed command-line tool. It runs collections as Newman did, and also lints API specs, runs mocks and monitors,…

---

## [Error: Error in package "undefined" is not valid JSON](https://community.postman.com/t/error-error-in-package-undefined-is-not-valid-json/60794)

<div class="topic-metadata">

**Author:** [@payload-geoscienti29](https://community.postman.com/u/payload-geoscienti29)\
**Replies:** 1\
**Last updated:** [May 8, 2024, 5:21am UTC](https://community.postman.com/t/error-error-in-package-undefined-is-not-valid-json/60794 "2024-05-08T05:21:13Z")

</div>

Everything looks fine but i m getting err. but function is working fine in the post-response script Response script const myPackage = pm.require('@aa-bb-cc/dtables'); myPackage.YY('zz'); Package script: var responseB…

---

## [Error: Cannot find package](https://community.postman.com/t/error-cannot-find-package/60575)

<div class="topic-metadata">

**Author:** [@sgurungcassini](https://community.postman.com/u/sgurungcassini)\
**Replies:** 29\
**Last updated:** [May 8, 2024, 10:10am UTC](https://community.postman.com/t/error-cannot-find-package/60575 "2024-05-08T10:10:02Z")

</div>

postman v11 update releases new package library functionality. This is a very nice feature however does not seem to work. Postman is able to create, find and use packages alright. However, on runtime; when you actual…

---

## [Using Variables in Packages](https://community.postman.com/t/using-variables-in-packages/60678)

<div class="topic-metadata">

**Author:** [@birddog-davek](https://community.postman.com/u/birddog-davek)\
**Replies:** 5\
**Last updated:** [May 8, 2024, 9:27am UTC](https://community.postman.com/t/using-variables-in-packages/60678 "2024-05-08T09:27:45Z")

</div>

Using Variables in Package Library: How does one access variables in the package library?: I have a JSON schema checker that I need to use in every API endpoint that I use. To do this in the post request scripts I creat…

[Next page](https://community.postman.com/tag/package-library/702.md?match_all_tags=true&page=1&tags%5B%5D=package-library)
