Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webpack not working if its Monday #2153

bernisnukic opened this issue Jul 8, 2019 · 2 comments


Copy link

commented Jul 8, 2019

  • Laravel Mix Version: #.#.# (npm list --depth=0)
  • Node Version (node -v):
  • NPM Version (npm -v):
  • OS:
    Windows 10


When running "npm run watch" it fails with an error:

TypeError: process.getuid is not a function

This error only happens if the day is monday and the issue has been fixed in latest version of webpack: webpack/webpack-cli#962

Steps To Reproduce:

  1. npm run watch

This comment has been minimized.

Copy link

commented Jul 8, 2019

@bernisnukic Yup. This is causing issues for a few of us at my workplace.
Workaround: Delete your node_modules folder and then run npm install.


This comment has been minimized.

Copy link

commented Jul 9, 2019

Yeah, its kind of annoying error. It happened with me on different occasions without any reason. My fix is to remove webpack-cli folder from node-modules. Then run npm install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.