lchown EPERM error on Azure web app

AIMyth DevOps 1 Reputation point

Trying to setup an app and when running npm install command, its failing with lchown error.

Am running command as root but still no luck.


Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,086 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 16,111 Reputation points Microsoft Employee

    Thanks@AIMyth DevOps for sharing that issue was due to some mis-match in .git configuration and by doing git init and then after pushing the changes, npm install worked fine and issue was resolved.

    Appreciate your response. I am sharing this to wider audience for community benefits.

    0 comments No comments