EPERM: operation not permitted, lstat when running ng build

后端 未结 7 1066
予麋鹿
予麋鹿 2021-01-17 19:30

I\'m getting an ERROR when trying to run ng build on my angular 4 app.

EPERM: operation not permitted, lstat \'\'
<         


        
7条回答
  •  南方客
    南方客 (楼主)
    2021-01-17 20:03

    I had the same problem.

    As @Mauricio De La Quintana said, the problem is permission.

    In my case (Windows environment), I solved the problem by removing the read-only property from the Repos folder and adding write permission to the Everyone user.

提交回复
热议问题