ionic-team / ionic-team/ionic-cli

Testing Ionic 4 - Lighthouse no firstMeaningfulPaint

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

描述

**Description:**
Run basic starter and check in lighthouse.

**Steps to Reproduce:**
Run the code.

```
C:\ae\adaept.com\aeion4>ionic s
> ng serve --host=0.0.0.0 --port=8102 --progress=false

[OK] Development server running!

Local: http://localhost:8102
External: http://192.168.1.67:8102
DevApp: aeion4@8102 on Merry-Christmas

[INFO] Browser window opened to http://localhost:8102!

[ng] webpack: wait until bundle finished: /
[ng] Date: 2018-03-27T04:38:56.823Z
[ng] Hash: beda4693df6225dea695
[ng] Time: 11984ms
[ng] chunk {inline} inline.bundle.js (inline) 3.85 kB [entry] [rendered]
[ng] chunk {main} main.bundle.js (main) 23.5 kB [initial] [rendered]
[ng] chunk {polyfills} polyfills.bundle.js (polyfills) 548 kB [initial] [rendered]
[ng] chunk {styles} styles.bundle.js (styles) 47.8 kB [initial] [rendered]
[ng] chunk {vendor} vendor.bundle.js (vendor) 9.53 MB [initial] [rendered]
[ng] webpack: Compiled successfully.
```

**Output:**
![capture255](https://user-images.githubusercontent.com/140737/37947219-ba45531c-313e-11e8-81ae-024417a00acd.png)

**My `ionic info`:**

```
C:\ae\adaept.com\aeion4>ionic info
cli packages: (C:\Users\peter\AppData\Roaming\npm\node_modules)

@ionic/cli-utils : 2.0.0-rc.1
ionic (Ionic CLI) : 4.0.0-rc.1

global packages:

cordova (Cordova CLI) : 7.0.1

local packages:

@angular-devkit/core : 0.4.6
@angular-devkit/schematics : 0.4.6
@angular/cli : 1.7.3
@ionic/core : 0.1.3
Cordova Platforms : none
Ionic Framework : @ionic/angular 0.0.2-29

System:

NodeJS : v8.9.4
npm : 5.6.0
OS : Windows 10

Environment Variables:

ANDROID_HOME : not set

C:\ae\adaept.com\aeion4>
```

貢獻指南

開啟貢獻指南

研究方向

Start by running the Ionic starter with the reported `ionic s` and `ng serve --host=0.0.0.0 --port=8102 --progress=false` commands, then inspect the Lighthouse result for the missing firstMeaningfulPaint metric. Compare the result with the supplied `ionic info` versions; done means identifying and documenting a reproducible cause or a confirmed CLI change needed to restore the metric.

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

評估

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

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

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