alfred-imagemin icon indicating copy to clipboard operation
alfred-imagemin copied to clipboard

[BUG] "cjpeg” cannot be opened because the developer cannot be verified.

Open thejasonparker opened this issue 2 years ago • 1 comments

Hi

I recently tried to run the Imagemin workflow for Alfred and I get a popup window with this error in it...

"cjpeg” cannot be opened because the developer cannot be verified.

Safari_2022-04-22_at_13 17 17

I'm running the following versions...

  • Alfred v4.6.4
  • Imagemin 1.4.0
  • MacBook Air (M1, 2020)
  • macOS Monterey v12.3.1

And when run this is the log output...

STDERR: Imagemin[[Run Script](alfredpreferences:workflows%3Eworkflow%3Euser.workflow.D7604045-A449-45D7-BA82-486D600FE38B%3ED26018EE-ED09-4F7C-8010-E150093C4D65)] (node:65334) UnhandledPromiseRejectionWarning: Error: write EPIPE
    at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:94:16)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:65334) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:65334) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Thanks for a great workflow and I hope it can be fixed as I really do find it useful.

Regards - Jason

thejasonparker avatar Apr 22 '22 12:04 thejasonparker

Thanks for the Issue. I think it has something to do with mac execution permissions, I will look into it.

kawamataryo avatar Apr 29 '22 21:04 kawamataryo