Next.js Discord

Discord Forum

Unable to locate executable file: ‘vercel’

Unanswered
atalay posted this in #help-forum
Open in Discord
Avatar
Hello I'm trying to azure pipeline deploy like on document and pipeline giving me this error that: Unable to locate executable file: ‘vercel’

I'm hosting my local windows computer as a agent and it's already installed vercel cli and vercel packages also working verlcel commands either.

What should I do?

14 Replies

Avatar
This is my azure pipeline.yml:

trigger:
- main

pool: Default

steps:
- task: vercel-deployment-task@1
  inputs:
    vercelProjectId: myProjectId
    vercelOrgId: myOrgId
    vercelToken: myToken
    production: true
and the error image:
Image
Avatar
@atalay for what are u using azure pipeline
Avatar
my local computer I'm using as a agent
and OS is windows document says ubuntu
is that a problem with that or doesn't matter?
Avatar
yeah probably
Avatar
why
should be work on all OS systems I guess cuz it's basiclly running node command
Avatar
so basically u are building your next app locally and deploying it via azure?
Avatar
yeah actually I'm storing on azure and deploying on vercel
that's why I'm using azure pipeline
Avatar
what are u storing?
Avatar
I mean git azure