http-party / http-server

a simple zero-configuration command-line http server
MIT License
13.42k stars 1.48k forks source link

what hell is going on ? #787

Closed JohyC closed 2 years ago

JohyC commented 2 years ago

Environment Versions

  1. OS Type image

  2. Node version: $ node --version image

  3. http-server version: $ http-server --version I can`t use http-server --version!!!

Steps to reproduce

$ http-server

i got this! image also i can`t use old!

scottstanfield commented 2 years ago

I'm getting garbage as well on macOS (using Alacritty) and node v16.13.1 (LTS)

image

Same results in Terminal. This is using a new M1 Pro.

scottstanfield commented 2 years ago

Zooming in...there are words in here like "TESTING"...I highlighted the word in the middle.

image

Soni96pl commented 2 years ago

Same with 13.0.2 it's likely one of the dependencies EDIT: https://github.com/Marak/colors.js/issues/294

zbynek commented 2 years ago

Before you report an issue you may want to check it's already reported or addressed by a PR. See #781, #782, #783, #784, #785, #786

JohyC commented 2 years ago

Oh! thanks guys! I`m reading for #294 , and looking for how to fix it. I will close this issues. @Soni96pl @zbynek

scottstanfield commented 2 years ago

Thanks for the heads-up. Just saw the article https://www.bleepingcomputer.com/news/security/dev-corrupts-npm-libs-colors-and-faker-breaking-thousands-of-apps/