Skip to content
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

[Bug] Chinese info logs always appears #12776

Open
d3qtian opened this issue Nov 13, 2024 · 1 comment
Open

[Bug] Chinese info logs always appears #12776

d3qtian opened this issue Nov 13, 2024 · 1 comment

Comments

@d3qtian
Copy link

d3qtian commented Nov 13, 2024

What happens?

image
umi max command line tool would display random Chinese words.
Example:

info - [你知道吗?] 如果想检测未使用的文件和导出,可尝试新出的 deadCode 配置项,详见 https://umijs.org/docs/api/config#deadcode

This is unexpected for a world-famous open-source framework.

Mini Showcase Repository(REQUIRED)

Please provide a minimal reproduction then upload to your GitHub. 请提供 最小重现,并上传到你的 GitHub 仓库
Just run npm run start or any other command that would call umi max cli.

How To Reproduce

Steps to reproduce the behavior:

  1. Just run npm run start or any other command that would call umi max cli.

Expected behavior

  1. No Chinese is displayed for English OS environment.
  2. Or at least give us an environment variable to disable these Chinese info logs.

Context

  • Umi Version: "@umijs/max": "^4.3.24"
  • Node Version: v22.11.0
  • Platform: Windows 11
@d3qtian d3qtian changed the title [Bug] say something [Bug] Chinese info logs always appears Nov 13, 2024
@LLmoskk
Copy link

LLmoskk commented Nov 16, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants