0

I did't remember this problem before. Maybe it appeared recently. How to solve this?enter image description here

无名小路
  • 4,147
  • 2
  • 13
  • 14
  • that's either a problem with artisan being encoded strangely so it can't output https://en.wikipedia.org/wiki/ANSI_escape_code correctly, or your terminal being unable to render them. in the first case file an issue with the developers; in the second case use something that's more intelligent than a typewriter as your terminal, and you should be fine. – nonchip Aug 10 '17 at 11:12

3 Answers3

0

This is color characters. Version looks green at my linux server.

Use php artisan --version --no-ansi.

shukshin.ivan
  • 11,075
  • 4
  • 53
  • 69
0

It seems like color codes that are not shown correctly.

Go to console options >Terminal and switching from xterm (default) to xterm-256color fixed the issue.

Restart the console.

Sunny Doshi
  • 363
  • 2
  • 11
0

I think the problem is that the common Windows terminal does not support the ANSI/VT100 colors.

I think you should try with PowerShell

OR

Change the terminal options to "xterm-256 color". Right click in the terminal → options → terminal → change the type to xterm-256 color → restart terminal.

halfer
  • 19,824
  • 17
  • 99
  • 186
AddWeb Solution Pvt Ltd
  • 21,025
  • 5
  • 26
  • 57