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.
7,895 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 21,691 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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.