I\'m getting an ERROR when trying to run ng build on my angular 4 app.
ng build
EPERM: operation not permitted, lstat \'\' <
EPERM: operation not permitted, lstat \'\'
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.