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

Open
bernisnukic opened this issue Jul 8, 2019 · 2 comments

Comments

@bernisnukic
Copy link

commented Jul 8, 2019

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

Description:

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
@aezur

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.

@egXcoder

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
Projects
None yet
3 participants
You can’t perform that action at this time.