-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
希望不要将 "commander" 的版本设定成 "*" #508
Comments
俺也一样。 |
试试 https://github.com/wll8/better-mock npm i @wll8/better-mock const Mock = require('@wll8/better-mock')
Mock.mock({
'list|1-10': [{
'id|+1': 1
}]
}) |
库表映射 查看详情 |
这是来自QQ邮箱的假期自动回复邮件。
|
现在限定node 18以上了 |
遇到同样的问题,顶!!!希望不要commander:* |
package.json中设置mockjs/commander的依赖版本即可,如下: |
是这样的 |
6啊兄弟! |
解决了commander版本过高的问题 |
commander 项目最近更新到 11.0.0 后,限定了需要 node 支持 16 以上,这样的改动对我们项目来说太突然了。
由于我们的项目还没有准备好node 版本的升级,故导致了编译的报错。
希望 mocjs 能使用最低支持的 commander,这样会比较友好~
The text was updated successfully, but these errors were encountered: