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

yarn lint:ts 指令报错 #3342

Closed
kyuuseiryuu opened this issue Sep 29, 2019 · 3 comments · Fixed by umijs/create-umi#84
Closed

yarn lint:ts 指令报错 #3342

kyuuseiryuu opened this issue Sep 29, 2019 · 3 comments · Fixed by umijs/create-umi#84

Comments

@kyuuseiryuu
Copy link

What happens?

最小可复现仓库

直接使用 yarn create umi 命令选择 app 模板创建 umi 项目。

复现步骤,错误日志以及相关配置

直接执行命令 yarn lint:ts 报错

> yarn lint:ts
yarn run v1.16.0
$ tslint "src/**/*.ts" "src/**/*.tsx"
Failed to load /Users/****/umi-test/tslint.yml: Cannot convert undefined or null to object
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

相关环境信息

  • Umi 版本:2.9.0
  • Node 版本:v12.6.0
  • 操作系统:MacOS 10.14.6
@skyunBoss
Copy link

怎么解决的?

@supercat55
Copy link

问题解决了吗

@GQMai
Copy link

GQMai commented Feb 11, 2020

Remove
jsRules:

umijs/create-umi@d04ba3d

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

Successfully merging a pull request may close this issue.

4 participants