I am running react.js with laravel and watching changes with yarn run watch which has worked fine until I began to come across this error with webpack any time I used yarn or npm after I made some windows 10 updates.
if (!e && fileOwnerId === process.getuid()) utimesSync(openCollectivePath, now, now)
The error:
TypeError: process.getuid is not a function at C:\project_path\node_modules\webpack-cli\bin\cli.js:352:43 at FSReqCallback.oncomplete (fs.js:153:23)