ionic-team / ionic-team/ionic-cli

10 rules skipped due to selector errors

未關閉
#4,774 18 則留言 7 個 reaction 已指派 0 人 在 GitHub 檢視
triage
主要語言
TypeScript
星號
2k
分支
682
PR 合併指標
30 天內沒有已合併 PR

描述

`ionic build --prod`

```
Generating index html...10 rules skipped due to selector errors:
:host-context([dir=rtl]) .ion-float-start -> unmatched pseudo-class :host-context
:host-context([dir=rtl]) .ion-float-end -> unmatched pseudo-class :host-context
:host-context([dir=rtl]) .ion-float-sm-start -> unmatched pseudo-class :host-context
:host-context([dir=rtl]) .ion-float-sm-end -> unmatched pseudo-class :host-context
:host-context([dir=rtl]) .ion-float-md-start -> unmatched pseudo-class :host-context
:host-context([dir=rtl]) .ion-float-md-end -> unmatched pseudo-class :host-context
:host-context([dir=rtl]) .ion-float-lg-start -> unmatched pseudo-class :host-context
:host-context([dir=rtl]) .ion-float-lg-end -> unmatched pseudo-class :host-context
:host-context([dir=rtl]) .ion-float-xl-start -> unmatched pseudo-class :host-context
:host-context([dir=rtl]) .ion-float-xl-end -> unmatched pseudo-class :host-context
✔ Index html generation complete.
```

ionic info

```
Ionic:

Ionic CLI : 6.16.3 (C:\Users\Sampath\AppData\Roaming\npm\node_modules\@ionic\cli)
Ionic Framework : @ionic/angular 5.6.13
@angular-devkit/build-angular : 12.1.4
@angular-devkit/schematics : 12.1.4
@angular/cli : 12.1.4
@ionic/angular-toolkit : 4.0.0

Capacitor:

Capacitor CLI : 3.1.2
@capacitor/android : 3.1.2
@capacitor/core : 3.2.0
@capacitor/ios : 3.2.0

Utility:

cordova-res : 0.15.3
native-run : 1.4.0

System:

NodeJS : v14.16.1 (C:\Program Files\nodejs\node.exe)
npm : 6.14.12
OS : Windows 10
```

貢獻指南

開啟貢獻指南

研究方向

Start by reproducing `ionic build --prod` with the Ionic, Angular CLI, Node.js, and Windows versions listed in the issue. Trace where the ten `:host-context` selector errors are emitted and determine whether the build is expected to process or skip them; done requires an agreed resolution for the skipped rules and a verified production build.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
angular, node.js, typescript
領域
build-system, cli
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。