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

运行fef init时,提示Your project config is not correct #222

Closed
fXy-during opened this issue Apr 27, 2020 · 5 comments
Closed

运行fef init时,提示Your project config is not correct #222

fXy-during opened this issue Apr 27, 2020 · 5 comments

Comments

@fXy-during
Copy link
Collaborator

fXy-during commented Apr 27, 2020

For BUG

执行fef init时会有加载套件的报错

企业微信截图_36ff7529-6ed5-4ea4-b392-df7beb5900e9

from tenten

@fXy-during fXy-during changed the title init时加载套件报错 运行fef init时,提示Your project config is not correct Apr 27, 2020
@fXy-during
Copy link
Collaborator Author

fXy-during commented Apr 27, 2020

代码位置:#L49 ,看上去是fef优先去本地套件中的找init命令了

@cpselvis
Copy link
Collaborator

这个创建的目录下有 .feflowrc.json 配置文件吧?

@fXy-during
Copy link
Collaborator Author

这个创建的目录下有 .feflowrc.json 配置文件吧?

存在.feflowrc.yml

@cpselvis
Copy link
Collaborator

这个需要看看这个配置是否是 feflow 的全局配置还是当前的配置

@codetker codetker mentioned this issue May 15, 2020
@codetker
Copy link
Collaborator

fef 命令会优先读取距离当前目录最近的配置文件,如果当前目录和所有层级的父目录下都没有,那么使用默认的全局配置文件。已经优化了一下对应报错信息。

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

3 participants