lchown EPERM error on Azure web app

AIMyth DevOps 1 Reputation point
2022-10-26T17:35:29.483+00:00

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.

254454-image.png

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

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 18,366 Reputation points
    2022-11-01T10:33:08.237+00:00

    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