aws-amplify / aws-amplify/amplify-cli

`amplify push` progress bar colorized output not adhering to terminal colors

Open
#10,987 1 comment 0 reactions 0 assignees View on GitHub
bug p3 platform-push
Dominant language
TypeScript
Stars
2.9k
Forks
825
Avg merge
11d 23h
Merged PRs (30d)
2

Description

### Before opening, please confirm:

- [X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
- [X] I have [searched for duplicate or closed issues](https://github.com/aws-amplify/amplify-cli/issues?q=is%3Aissue+).
- [X] I have read the guide for [submitting bug reports](https://github.com/aws-amplify/amplify-cli/blob/dev/CONTRIBUTING.md#bug-reports).
- [X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
- [X] I have removed any sensitive information from my code snippets and submission.

### How did you install the Amplify CLI?

pnpm

### If applicable, what version of Node.js are you using?

18

### Amplify CLI Version

10

### What operating system are you using?

mac

### Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.

n/a

### Amplify Categories

Not applicable

### Amplify Commands

Not applicable

### Describe the bug

image

![image](https://user-images.githubusercontent.com/5033303/189153850-c8fa943a-b47d-4c23-a110-ec232ab39dd2.png)

### Expected behavior

colorized output uses the same green from terminal

### Reproduction steps

1. `amplify init -y`
2. add some resource
3. `amplify push -y`
4. observe colorized output

### GraphQL schema(s)

```graphql
# Put schemas below this line

```

### Project Identifier

_No response_

### Log output

```
# Put your logs below this line

```

### Additional information

_No response_

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue from the reported entry point by running `amplify init -y`, adding a resource, and then running `amplify push -y` on macOS with Amplify CLI 10 and Node.js 18. Compare the progress bar colors with the terminal's green color; done means the colorized output uses the same green as the terminal.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.