BetaHuhn/deploy-to-vercel-action

Error: Unhandled 'error' event

Opened this issue ยท 9 comments

๐Ÿž Describe the bug

Cannot deploy to vercel because there an is error happened

๐Ÿ–ผ๏ธ Screenshots

image

โš™๏ธ Environment

  • Action version: v1.0.0

facing the same issue here.

Yes, same issue for me, it seems something changed in Vercel so this action basically stop working :(

A workaround that is working for me is to add a previous step to install the Vercel CLI:

- name: Install Vercel CLI
  run: npm install -g vercel@22.0.1

I also ran into this and can confirm @JoaoVSouto's workaround fixed it

same problem here, tried @JoaoVSouto solution worked great, thanks!

Emmm, have you guys checked this? https://github.com/actions/runner-images/issues/10636
They removed vercel cli.

Which means maybe we need a quick update before they upgrade the runner on 1/17?

jlison commented

It just stopped working for me. I tried:

    runs-on: ubuntu-20.04

and

- name: Install Vercel CLI
  run: npm install -g vercel@22.0.1

with no luck. Any suggestions on alternative workarounds?

@jlison
try runs-on: ubuntu-latest

Same problem here, tried @JoaoVSouto workaround and it did the job, thx