-
-
Notifications
You must be signed in to change notification settings - Fork 622
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
Interesting behavior when using info
as a value for --info-verbosity
#1383
Comments
info
as a value for --info-verbosity
info
as a value for --info-verbosity
@lukaselmer could you say the same against beta? |
@snitin315: Yes, the issue still persists in the beta release:
@snitin315 what happens when you run |
Thanks for the issue |
@lukaselmer Working for me in beta. |
|
@snitin315 Can you send tests to ensure we don't have that problem? |
Sure , on it. |
@evilebottnawi, was able to reproduce this on a machine which doesn't have webpack installed, right now we're expecting the user to supply the webpack version of their choice via peerDependencies, and since when run via npx and the user doesn't have webpack installed globally this throws, only solution that I can think of right now is moving it to dependencies, please let me know if there are any alternatives, will fix appropriately. |
@anshumanv we can't fix it, people should have webpack in deps, anyway I think we can improve DX, for example check that webpack is not installed and answer question about installation, for example:
|
The command
npx webpack-cli --watch --progress --info-verbosity info
executesnpx webpack-cli info
instead of setting the flag--info-verbosity
toinfo
.Examples to reproduce the issue:
What is the current behavior?
To Reproduce
See above
Expected behavior
Please paste the results of
webpack-cli info
here, and mention other relevant informationThe text was updated successfully, but these errors were encountered: