postmanlabs / postman-app-support

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
https://www.postman.com
5.82k stars 839 forks source link

Install Fails On MacOS Monterey 12.6.3. (Intel) #11854

Open dcs3spp opened 1 year ago

dcs3spp commented 1 year ago

Is there an existing issue for this?

Describe the Issue

First time user trying to get PostmanAgent working on macos Monterey 12.6.3 (Intel x64). Using alternative product unless this can be resolved.

Download PostmanAgent for intel x64 Install on macos Monterey 12.6.3 Extract zip from ~/Downloads Double click on Postman Agent Enter admin credentials when prompted to move into applications folder

Nothing happens, except message displayed stating that operation failed despite authorisation given

Steps To Reproduce

Download PostmanAgent for intel x64 Install on macos Monterey 12.6.3 Extract zip from ~/Downloads Double click on Postman Agent Enter admin credentials when prompted to move into applications folder

brew install postman works, but the official installer as detailed above fails???

Screenshots or Videos

No error was given. So, I inspected the logs at ~/library/Application Support/PostmanAgent

The logs are:

[61893][1679697913421][main][info]["Booting PostmanAgent 0.4.13, darwin-21.6.0 on x64"]
[61893][1679697913481][main][warn]["Postman Agent~Main~populateInstallationId: Failed to get installationId from agentSettings but with no error"]
[61893][1679697913488][main][info]["UpdateHandler~init - Success"]
[61893][1679697913509][main][info]["Main~promptMoveToApplicationsFolder - Postman Agent is not in applications folder, showing a prompt to move it there"]
[61893][1679697937723][main][error]["Postman Agent~unhandledRejection",{"name":"Error","message":"Failed to copy to applications directory even with authorization","stack":"Error: Failed to copy to applications directory even with authorization\n    at /private/var/folders/p2/57_qtw1n2l97ydstsckzg9m40000gn/T/AppTranslocation/D0F58DE5-791B-46C9-8F92-C1C4A5A61045/d/Postman Agent.app/Contents/Resources/app.asar/main.js:152:11\n    at processTicksAndRejections (node:internal/process/task_queues:96:5)"}]

Operating System

macos Monterey 12.6.3 (intel)

Postman Version

0.4.13

Postman Platform

Other

User Account Type

Signed In User

Additional Context?

This relates to Postman Agent.

houdq commented 1 month ago

I also encountered the same problem, i upgrade my os from catalina 10.5 to Monterey 12.7.5