aspnetcore-angular-universal icon indicating copy to clipboard operation
aspnetcore-angular-universal copied to clipboard

Build crashing on "Mondays" (Windows)....

Open alexbenitez opened this issue 5 years ago • 0 comments

If you get this random error on 'Mondays' (yes... on Mondays :-)) likely it is related to a Webpack bug (that has to do with a message asking for donation only on Mondays ).

TypeError: process.getuid is not a function  (cli.js:356:43)

See details here: https://github.com/webpack/webpack-cli/issues/962

Changing the timezone to a country already on Tuesday or upgrading to "webpack-cli": "^3.3.5" fixed the issue. Obviously the solution is the latter to make the starter work..

PS: clueless why this didn't crash last Monday but the timezone change and the new version did the trick. Probably the starter should use a more recent webpack-cli version.

/Alex

alexbenitez avatar Jul 08 '19 16:07 alexbenitez