简体   繁体   中英

'MIX_ENV' is not recognized as an internal or external command, operable program or batch file

MIX_ENV=test mix compile

...is not working on Windows cmd . It shows:

'MIX_ENV' is not recognized as an internal or external command, operable program or batch file

How to solve this problem?

就像@Dogbert所说的,在Windows中,您必须使用set命令:

set MIX_ENV=test && mix compile

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM