Next.js Discord

Discord Forum

Unable to locate executable file: ‘vercel’

Unanswered
atalay posted this in #help-forum
Open in Discord
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

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:
@atalay for what are u using azure pipeline
@gin <@851419159421779988> for what are u using azure pipeline
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?
yeah probably
@gin yeah probably
why
should be work on all OS systems I guess cuz it's basiclly running node command
so basically u are building your next app locally and deploying it via azure?
@gin so basically u are building your next app locally and deploying it via azure?
yeah actually I'm storing on azure and deploying on vercel
that's why I'm using azure pipeline
@gin what are u storing?
I mean git azure