-
Notifications
You must be signed in to change notification settings - Fork 12k
no colours for chunk list in git bash when using yarn start
on a new project
#13008
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi, Can you please provide the output of When you say it's painfully slow can you please elaborate a bit more regarding the timings that you are seeing? Also, the command you are running is Thanks. |
Sorry for the typo. I updated the comment with additional info. Comparing to the speed of Someone should really investigate this, as people have been complaining for a long time about this speed issue, with no logical explanation and solution. According to forums, this might be related to |
The last time I checked the built times were pretty close between Windows and Mac. (I usually work on a Mac though). @filipesilva do you have any insights on this since you usually work on a Windows? Also, one of the community members today mentioned that built times were better when using PowerShell though when using WSL #5775 (comment), might be worth to give it a shot :) |
WSL will always be very, very slow. @micobarac are you sure you are using Git Bash and not WSL? You should be able to check by running I use git bash and see this:
I work on Windows as my primary machine. A new project builds in 9.8s and rebuilds in 200ms:
|
@filipesilva , here is the output you mentioned:
|
Git Bash:
ConEmu:
|
Initial build with pure git bash is faster (Time: 11744ms) than ConEmu (Time: 16243ms). |
@micobarac your build times look similar to mine really. I don't the 20s rebuilds you mentioned in those logs. I'll edit the issue name to reflect that. Your console seems to show some colors in the output and not others. I'm using gitbash on windows too and can see it when running Seems to be a bad interaction between yarn and the colors. |
yarn start
on a new project
@filipesilva I think this bad interaction only occurs on Windows. I use zsh on two different terminals. I don't think this is a CLI problem. |
@filipesilva looks like this is not issue on our side. Can we close it? |
@mgechev I think we should keep it open because I think that shows that it is possible to show these colors, but that something is going wrong in the chunks proper. We use a custom stats reporting for the chunks so that's on our side. |
I recognized this issue of the colorless chunk list too. Anyone knows a fix for it? |
Hi @valentinstn, which Angular CLI version are you using? |
@alan-agius4 I'm using |
Hi @valentinstn, A lot of things has changed since version 9 and we haven't received similar reports. Please update to the most recent version to resolve the problem. If the problem persists in your application after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior. You can use |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug Report or Feature Request (mark with an
x
)Command (mark with an
x
)Versions
Angular CLI: 7.0.6
Node: 11.1.0
OS: win32 x64
Angular: 7.0.4
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
Package Version
@angular-devkit/architect 0.10.6
@angular-devkit/build-angular 0.10.6
@angular-devkit/build-optimizer 0.10.6
@angular-devkit/build-webpack 0.10.6
@angular-devkit/core 7.0.6
@angular-devkit/schematics 7.0.6
@angular/cli 7.0.6
@ngtools/webpack 7.0.6
@schematics/angular 7.0.6
@schematics/update 0.10.6
rxjs 6.3.3
typescript 3.1.6
webpack 4.19.1
Repro steps
ng serve
Desired functionality
Build speed should be at least reasonably normal
Built chunks list should be coloured in git bash
Mention any other details that might be useful
Build speed is painfully slow, even with a brand new Angular Cli project
Built chunks list is monochromatic.
My hardware is very fast, btw, with I7 CPU, SSD HDD, 8GB RAM.
I excluded project directory from NOD32 antivirus.
I even tried
ember-cli-windows
tool, but with no success.The text was updated successfully, but these errors were encountered: