-
Notifications
You must be signed in to change notification settings - Fork 877
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
Maven displays npm logs as errors #411
Comments
It's probably npm writing to stderr for some reason. |
Same issue for me. But sadly npm seems to log http level to stderr...
|
I have the same problem my packages are getting downloaded fine but these errors are raising questions. |
Anyone able to fix this? |
Interesting... what if instead of implicitly assuming its an error only assume its an error if npm ERROR occurs? I think the explicit assuming would be more ideal to most? |
This is something that should be fixed in npm, it doesn't make sense that it logs stuff to stderr if it's not errors. |
stderr can be used to log all kinds of diagnostic output. I'm not saying it's a good (or a bad) thing but that's the status quo. Exit status is the standard way to detect if a process has failed or not. |
At least as far as this plugin is concerned, all it does is forward stdout to Maven's stdout, and stderr to Maven's stderr. I'd say it's a feature, not a bug. |
I set the loglevel to
http
for mynpm install
. Whennpm install
gets executed by the Maven Frontend Plugin, it is displayed as[ERROR]
instead of[INFO]
.Partial log below:
Do you think it is related to Maven or the Frontend plugin? Or is it NPM returning wrong code?
The text was updated successfully, but these errors were encountered: