Skip to content

No output colourisation for ionic serve #4636

@SimonBrazell

Description

@SimonBrazell

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

ng serve
Screen Shot 2021-02-03 at 15 37 31

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 showcasing Angular 11, unless the screenshot is of the ng serve command instead of ionic serve.

Thanks for creating this fantastic framework! 🙂

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions