ionic-team / ionic-team/ionic-cli

No output colourisation for `ionic serve`

Offen
#4,636 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
triage
Vorherrschende Sprache
TypeScript
Sterne
2k
Forks
682
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**Description:**
When running `ionic serve` on an `@ionic/angular` project I get little to no colourisation of the output in the terminal.

**Steps to Reproduce:**
1. Run `ionic serve`, examine output.
2. Run `ng serve` compare with previously display output, note lack of colourisation.

**Output:**
`ionic serve`
![Screen Shot 2021-02-03 at 15 32 59](https://user-images.githubusercontent.com/16571951/106698783-9c820a80-6635-11eb-9a9e-eb135272daa0.png)

`ng serve`
![Screen Shot 2021-02-03 at 15 37 31](https://user-images.githubusercontent.com/16571951/106699059-334ec700-6636-11eb-9d2b-f6b634b4898c.png)

**My `ionic info`:**

```
Ionic:

Ionic CLI : 6.12.4 (/.../.nvm/versions/node/v14.15.4/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.5.3
@angular-devkit/build-angular : 0.1100.7
@angular-devkit/schematics : 11.1.2
@angular/cli : 11.1.2
@ionic/angular-toolkit : 3.0.0

Utility:

cordova-res : not installed
native-run : 1.3.0

System:

NodeJS : v14.15.4 (/.../.nvm/versions/node/v14.15.4/bin/node)
npm : 6.14.10
OS : macOS Big Sur
```

**Other Information:**
Obviously not a huge deal as the info is all still there but thought you might want to know.

I've tried it in both macOS iTerm2 and Terminal with the same results.

It looks to be working for @mhartington in this [blog post](https://ionicframework.com/blog/massive-updates-with-version-11-of-angular/) showcasing Angular 11, unless the screenshot is of the `ng serve` command instead of `ionic serve`.

Thanks for creating this fantastic framework! 🙂

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.