postman-app-support
postman-app-support copied to clipboard
Package Library works on web but not on desktop app
Is there an existing issue for this?
- [X] I have searched the tracker for existing similar issues and I know that duplicates will be closed
Describe the Issue
I created a simple package library following the steps in the documentation (https://learning.postman.com/docs/writing-scripts/package-library/#write-code-in-a-package). While I am able to import and use this package on through the web, I am unable to get the external package to work from the desktop app. I keep getting a response back stating There was an error in evaluating the Pre-request Script:Error: Cannot find package '@<teamName>/<packageName>'
I have upgraded to the most recent Postman version 11.0.6 but the "Desktop Platform Version" is showing 11.0.4.
Steps To Reproduce
- Create a new package library and save for the team
- Import your package in a pre-request or post-response script
- Call the exported function from the package library.
- Send request to trigger script.
- From the web, the package library works. Through the desktop app, it returns the error.
Screenshots or Videos
No response
Operating System
Windows
Postman Version
11.0.6
Postman Platform
Both
User Account Type
Signed In User
Additional Context?
No response