inngest / inngest

A scalable, low-latency, event-driven durable execution platform. Supports functions deployed to serverless, servers, or the edge.
https://www.inngest.com/docs
Other
1.69k stars 67 forks source link

MacOS main executable failed strict validation when signing binary #1404

Open charanjit-singh opened 3 months ago

charanjit-singh commented 3 months ago

Describe the bug

➜  git:(main) ✗ pnpm inngest-cli
./node_modules/.bin/inngest-cli: line 13: 49064 Killed: 9               "$basedir/../inngest-cli/bin/inngest" "$@"

To Reproduce Steps to reproduce the behavior:

  1. Install inngest on macos
  2. Run inngest ... with these args

System info

"inngest-cli": "^0.29.0", Macos 14.4.1 (23E224)

Additional context Might be related to https://github.com/vercel/pkg/issues/128

linear[bot] commented 3 months ago

INN-3116 MacOS main executable failed strict validation when signing binary

charanjit-singh commented 3 months ago

I tried

 upx -d ./node_modules/inngest-cli/bin/inngest 
                       Ultimate Packer for eXecutables
                          Copyright (C) 1996 - 2023
UPX 4.1.0       Markus Oberhumer, Laszlo Molnar & John Reiser    Aug 8th 2023

        File size         Ratio      Format      Name
   --------------------   ------   -----------   -----------
upx: ./node_modules/inngest-cli/bin/inngest: CantUnpackException: file corrupted

Unpacked 0 files.

https://stackoverflow.com/a/68586691/9275249

Didn't work

charanjit-singh commented 3 months ago

Tried https://apple.stackexchange.com/a/396603/359627 didnt work

charanjit-singh commented 3 months ago

Tried https://apple.stackexchange.com/a/470957/359627 Didnt work

charanjit-singh commented 3 months ago

I downgraded inngest and now it's working!