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

'NODE_ENV' 不是内部或外部命令,也不是可运行的程序 #7982

Open
luckyship opened this issue Jun 8, 2023 · 3 comments · May be fixed by #8014
Open

'NODE_ENV' 不是内部或外部命令,也不是可运行的程序 #7982

luckyship opened this issue Jun 8, 2023 · 3 comments · May be fixed by #8014

Comments

@luckyship
Copy link
Contributor

luckyship commented Jun 8, 2023

Reproduction link

https://stackblitz.com

Steps to reproduce

在windows环境下执行npm run start
image

What is expected?

执行正常不报错

What is actually happening?

执行报错

Environment Info
ng-zorro-antd 16.0.0
Browser chrome
@zorro-bot
Copy link

zorro-bot bot commented Jun 8, 2023

Translation of this issue:

'Node_env' is not an internal or external command, nor is it a running program

REPRODUCTION LINK

[https://stackBlitz.com] (https://stackblitz.com)

STEPS To Reproduce

Execute npm run start under the Windows environment

What is exfected?

Normal execution is not wrong

What is actually happy?

Execute an error

| ENVIRONMENT | Info |
| --- | --- | |
| NG-Zorro-ATD | 16.0.0 |
| Browser | Chrome |

@luckyship
Copy link
Contributor Author

在windows环境下,无法识别NODE_ENV=development, 我可以增加cross-env,去支持window下的环境变量配置嘛

@zorro-bot
Copy link

zorro-bot bot commented Jun 15, 2023

Hello @luckyship. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please fill the Pull Request Template here, provide documentation/test cases if needed and make sure CI passed, we will review it soon. Appreciate it advance and we are looking forward to your contribution!

你好 @luckyship, 我们完全同意你的提议/反馈,欢迎直接在此仓库 创建一个 Pull Request 来解决这个问题。请务必填写 Pull Request 内的预设模板,提供改动所需相应的测试用例、文档等,并确保 CI 通过,我们会尽快进行 Review,提前感谢和期待您的贡献!
giphy

@luckyship luckyship linked a pull request Jul 16, 2023 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants