-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
配置环境变量启动报错 #5079
Comments
请问你是怎么解决的? |
建议官方不要报错,而是忽略, |
…………………………………………………………………… |
似乎 config/config..ts 和 .umirc..ts 不可以混用,要么全部用 config 的形式,要么全用 .umirc |
gsdg45sd4g5s4dg5sdイシリーズからドムをプレゼンりやかなベルガモットオジビタから
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happens?
想要配置不同环境的打包命令,
"start:dev": "cross-env UMI_ENV=dev umi dev",
cross-env已安装
启动时报错信息如下:
get user config failed, undefined does not exist, but process.env.UMI_ENV is set to dev.
相关环境信息
The text was updated successfully, but these errors were encountered: