'npm custom' step failing in Azure Pipeline

Abbas,Nida 0 Reputation points
2024-04-17T10:26:35.8+00:00

I am getting below error at 'npm custom' custom in Azure Pipeline, while triggerring it.

##[error]Error: Unable to locate executable file: 'npm'. 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.

PFA snapshot for reference.Reference_Screenshot.PNG

Please guide here.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,066 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA-MSFT 77,336 Reputation points Microsoft Employee
    2024-04-18T02:38:47.5366667+00:00

    @Abbas,Nida - Thanks for the question and using MS Q&A platform.

    Azure DevOps is currently not supported in the Microsoft Q&A platform; the supported products are listed over here https://docs.microsoft.com/en-us/answers/products (more to be added later on).

    In order to assist best on your query, I would request you to post your query in SO => Azure Devops dedicated support. Additionally, adding the [Azure] tag on SO will increase visibility as it is a Microsoft Sponsored tag.

    https://stackoverflow.com/questions/tagged/azure-devops

    OR

    Report any Azure Devops problems on Developer Community.

    This will assist you with a faster reply to your query.

    0 comments No comments