-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Drop sudos from npm scripts
?
#1
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
Comments
Yea definitely should... I updated npm on my macbook and for some reason I'm getting an error when the local installation of Webpack tries to run |
It was probably that |
@bebraw definitely just found and deleted a |
update from the origin
…b-md Update code-splitting-libraries.md
The comment was implying that a switch-case exists. Checking the history, the switch-case was phased out on this commit: {7b83c19}
I noticed the npm scripts run through sudo. I don't think that's needed so might as well drop those bits.
You actually need to change the output path to form
path: 'dist/build',
atconfig/dev-config.js
as otherwise it will try to write to root. One reason why sudoing isn't a good idea here.The text was updated successfully, but these errors were encountered: