When I try to deployment with azure devops pipeline it giving me to this error:
Unable to locate executable file: ‘vercel’. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.
Hi, Can you share your YML config file?
Okey here it is:
trigger:
- main
pool: Default
steps:
- task: vercel-deployment-task@1
inputs:
vercelProjectId: myProjectId
vercelOrgId: myOrgId
vercelToken: myToken
production: true
You probably need to install Powershell Core on your machine that hosts Azure DevOps agent. This adds pwsh
to the PATH
, which will fix your build. Powershell Core Installation guide for Linux.
I’m hosting my agent on my local computer which is having windows operator system. So how can I do that?