angular - ionic cordova build Android 显示 lint 警告
问题描述
我在运行时收到以下警告“ ionic build android
”
任何人都可以帮忙吗?
[12:00:40][Step 2/4] Tried to lint /Users/ibl/BuildAgent/work/57cc7c2dbfdcfaba/src/variables.ts but found no valid, enabled rules for this file type and file path in the resolved configuration.
[12:00:40][Step 2/4] Tried to lint /Users/ibl/BuildAgent/work/57cc7c2dbfdcfaba/src/model/Account.ts but found no valid, enabled rules for this file type and file path in the resolved configuration.
[12:00:40][Step 2/4] Tried to lint /Users/ibl/BuildAgent/work/57cc7c2dbfdcfaba/src/model/AccountTemplate.ts but found no valid, enabled rules for this file type and file path in the resolved configuration.
[12:00:40][Step 2/4] Tried to lint /Users/ibl/BuildAgent/work/57cc7c2dbfdcfaba/src/model/BankCodes.ts but found no valid, enabled rules for this file type and file path in the resolved configuration.
[12:00:40][Step 2/4] Tried to lint /Users/ibl/BuildAgent/work/57cc7c2dbfdcfaba/src/model/BillPayments.ts but found no valid, enabled rules for this file type and file path in the resolved configuration.
[12:00:40][Step 2/4] Tried to lint /Users/ibl/BuildAgent/work/57cc7c2dbfdcfaba/src/model/Card.ts but found no valid, enabled rules for this file type and file path in the resolved configuration.
[12:00:40][Step 2/4] Tried to lint /Users/ibl/BuildAgent/work/57cc7c2dbfdcfaba/src/model/Configuration.ts but found no valid, enabled rules for this file type and file path in the resolved configuration.
[12:00:40][Step 2/4] Tried to lint /Users/ibl/BuildAgent/work/57cc7c2dbfdcfaba/src/model/ContactInfo.ts but found no valid, enabled rules for this file type and file path in the resolved configuration.
[12:00:40][Step 2/4] Tried to lint /Users/ibl/BuildAgent/work/57cc7c2dbfdcfaba/src/model/EZcash.ts but found no valid, enabled rules for this file type and file path in the resolved configuration.
[12:00:40][Step 2/4] Tried to lint /Users/ibl/BuildAgent/work/57cc7c2dbfdcfaba/src/model/Ecard.ts but found no valid, enabled rules for this file type and file path in the resolved configuration.
[12:00:40][Step 2/4] Tried to lint /Users/ibl/BuildAgent/work/57cc7c2dbfdcfaba/src/model/ForgotPassword.ts but found no valid, enabled rules for this file type and file path in the resolved configuration.
[12:00:40][Step 2/4] Tried to lint /Users/ibl/BuildAgent/work/57cc7c2dbfdcfaba/src/model/FundsReceived.ts but found no valid, enabled rules for this file type and file path in the resolved configuration.
[12:00:40][Step 2/4] Tried to lint /Users/ibl/BuildAgent/work/57cc7c2dbfdcfaba/src/model/GenarateCVV.ts but found no valid, enabled rules for this file type and file path in the resolved configuration.
[12:00:40][Step 2/4] Tried to lint /Users/ibl/BuildAgent/work/57cc7c2dbfdcfaba/src/model/GetSocialPay.ts but found no valid, enabled rules for this file type and file path in the resolved configuration.
[12:00:40][Step 2/4] Tried to lint /Users/ibl/BuildAgent/work/57cc7c2dbfdcfaba/src/model/ImageUpload.ts but found no valid, enabled rules for this file type and file path in the resolved configuration.
[12:00:40][Step 2/4] Tried to lint /Users/ibl/BuildAgent/work/57cc7c2dbfdcfaba/src/model/InlineResponse200.ts but found no valid, enabled rules for this file type and file path in the resolved configuration.
[12:00:40][Step 2/4] Tried to lint /Users/ibl/BuildAgent/work/57cc7c2dbfdcfaba/src/model/InlineResponse2001.ts but found no valid, enabled rules for this file type and file path in the resolved configuration.
[12:00:40][Step 2/4] Tried to lint /Users/ibl/BuildAgent/work/57cc7c2dbfdcfaba/src/model/InlineResponse2002.ts but found no valid, enabled rules for this file type and file path in the resolved configuration.
[12:00:40][Step 2/4] Tried to lint /Users/ibl/BuildAgent/work/57cc7c2dbfdcfaba/src/model/InlineResponse2003.ts but found no valid, enabled rules for this file type and file path in the resolved configuration.
[12:00:40][Step 2/4] Tried to lint /Users/ibl/BuildAgent/work/57cc7c2dbfdcfaba/src/model/InlineResponse2004.ts but found no valid, enabled rules for this file type and file path in the resolved configuration.
[12:00:40][Step 2/4] Tried to lint /Users/ibl/BuildAgent/work/57cc7c2dbfdcfaba/src/model/InlineResponse2005.ts but found no valid, enabled rules for this file type and file path in the resolved configuration.
[12:00:40][Step 2/4] Tried to lint /Users/ibl/BuildAgent/work/57cc7c2dbfdcfaba/src/model/InlineResponse2006.ts but found no valid, enabled rules for this file type and file path in the resolved configuration.
[12:00:40][Step 2/4] Tried to lint /Users/ibl/BuildAgent/work/57cc7c2dbfdcfaba/src/model/InlineResponse2007.ts but found no valid, enabled rules for this file type and file path in the resolved configuration.
[12:00:40][Step 2/4] Tried to lint /Users/ibl/BuildAgent/work/57cc7c2dbfdcfaba/src/model/InlineResponse2008.ts but found no valid, enabled rules for this file type and file path in the resolved configuration.
离子信息
cli 包:(/Users/dev/Documents/IB/PSVB-MBL/node_modules)
@ionic/cli-utils : 1.19.3
ionic (Ionic CLI) : 3.20.1
全局包:
cordova (Cordova CLI) : 7.1.0
本地包:
@ionic/app-scripts : 3.2.4
Cordova Platforms : android 7.1.0
Ionic Framework : ionic-angular 3.9.0
系统:
Android SDK Tools : 26.1.1
Node : v9.10.1
npm : 5.6.0
OS : macOS
Xcode : Xcode 10.2.1 Build version 10E1001
环境变量:
`ANDROID_HOME : /Users/dev/Library/Android/sdk`
杂项:
`backend: pro`
解决方案
在您tslint.json
添加新规则中tslint.json
"jsRules": {
"no-empty": true
}
推荐阅读
- python - 在 Thread 构造函数中定义 `args` 的更好方法?
- android - 对包含字符串值的 Mediastore 轨道号进行排序时出现问题
- biztalk-2016 - BizTalk - 设置电子邮件 contentType 导致错误:XML 文档中存在错误 (1, 1)
- python-3.8 - 检查字符串索引时“==”与“in”或“if in”之间有什么实际区别吗?
- python - 将多个 yaml 文件读取到 pandas Dataframe
- javascript - 如何为 HTML 中动态添加的元素添加索引?
- asp.net-core - 带有 ViewModel 无参数构造函数的 ASP.NET Core 3.1 DI
- laravel - Sanctum 和 Postman 的 SPA 身份验证问题
- flyway - 航路迁移不工作需要维修
- hyperledger-fabric - 为什么在超级账本中部署链码不起作用?