npm list --depth=0)node -v):npm -v):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: https://github.com/webpack/webpack-cli/issues/962
@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.
Edit: Just deleting node_modules/webpack-cli works.
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
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
@bernisnukic Yup. This is causing issues for a few of us at my workplace.
Workaround: Delete your
node_modulesfolder and then runnpm install.Edit: Just deleting
node_modules/webpack-cliworks.