Why does npm install print junk characters to the console? #10469
Comments
I'm also seeing this kind of thing in areas where its listing depedencies:
|
If you're on Linux or OS X, do you have your terminal configured to display UTF-8 with ANSI sequences? If you're on Windows, is your system using the default (UTF-8 compliant) code page? |
Ah, I'm using PuTTY and it wasn't configured to display UTF-8. I used this to improve it: http://serverfault.com/questions/378352/can-putty-be-configured-to-display-the-following-utf-8-characters . So it looks like those characters are attempting to display some kind of progress bar? There are still artifacts being left over and text that looks obscured. Eg installing my package.json has lots of information that looks cut off:
Why not just use an incrementing percent rather than some fancy bar? Also If you're going to use text-based visuals for things like the dependency tree, would it be possible to use characters less likely to be misunderstood by tools that don't expect utf-8? |
I've noticed junk characters in our Jenkins build in "Console output" HTML page which is at URLs like In "raw" TXT mode they are displayed correctly It seems Jenkins improperly transforms those Unicode characters when rendering HTML view
Jenkins ver. 1.532.2 Seems a bug on Jenkins side, will open a bug for Jenkins later - unless someone knows a workaround? |
We're closing this issue as it has gone seven days without activity and without being labeled. If we haven't even labeled in issue in seven days then we're unlikely to ever read it. If you are still experiencing the issue that led to you opening this or this is a feature request you're still interested in then we encourage you to open a new issue. If this was a support issue, you may be better served by joining package.communty and asking your question there. For more information about our new issue aging policies and why we've instituted them please see our blog post. |
Hi there, Reopening the issue: I've noticed junk characters in our Jenkins build in "Console output" HTML page which is at URLs like In "raw" TXT mode they are displayed correctly It seems Jenkins improperly transforms those Unicode characters when rendering HTML view ┌─────────────────────────┬──────────┬──────────� I'm on Windows, and my system is using the default (UTF-8 compliant) code page. using Jenkins 2.1.0.0 |
I'm seeing a lot of junk being written to the console on my Centos 6.5 machine with npm v3.3.12 . Stuff like this:
What is that? Here's some full output I'm getting:
It looks like there are some display items, but I can't tell if information is being cut off. It looks like something is broken. Sidenote: why is it complaining about the current directory not having a package.json?
The text was updated successfully, but these errors were encountered: