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

dva g 创建报错(dva-cli version 0.9.2)提示:dva generate is disabled since we don't have enough time currently. #148

Open
chanwingwah opened this issue Feb 26, 2018 · 6 comments

Comments

@chanwingwah
Copy link

cmd下命令:
`
E:\PRO2018\DQ>dva -v
dva-cli version 0.9.2
dva version 2.1.0
roadhog version 2.2.0

E:\PRO2018\DQ>dva g route Products
C:\Users\cyh\AppData\Roaming\npm\node_modules\dva-cli\bin\dva-generate
😢 dva generate is disabled since we don't have enough time currently.
`
dva g 生成其他也是这个错误

@KinmieWang
Copy link

我也是,等待大神解答

@jbiter
Copy link

jbiter commented Mar 9, 2018

It seems like dva-cli doesn't support this command any more.
#140 #142

@FiftyShadows
Copy link

你需要npm uninstall dva-cli -g,安装老的版本,npm i dva-cli@0.8 -g。报错的意思是生成器还不能用,还在开发中。

@littlepoolshark
Copy link

@sorrycc ,不知道陈大为何在dva-cli@0.92这个版本禁用了这个命令呢?我看你的源码,实现生成相关文件这个功能的源码generate.js还是可以运行的啊。求解!

@automan-lmx
Copy link

真是令人窒息的操作。我也报错。

@z475142422
Copy link

同报QAQ,对于学习带来了不小的麻烦

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

7 participants