ionic-team / ionic-team/ionic-cli
Error at first on `ionic serve`, then working app on re-save of file
- 主要語言
- TypeScript
- 星號
- 2k
- 分支
- 682
- PR 合併指標
- 30 天內沒有已合併 PR
描述
When I first run `ionic serve` I get a page with some Typescript errors:
```
Error
Typescript Error
Property 'padStart' does not exist on type 'string'.
...
Typescript Error
Property 'values' does not exist on type 'ObjectConstructor'.
...
Typescript Error
Property 'values' does not exist on type 'ObjectConstructor'.
...
Typescript Error
Property 'values' does not exist on type 'ObjectConstructor'.
...
Typescript Error
Property 'xAxes' does not exist on type '{ yAxes: { ticks: { beginAtZero: boolean; }; }[]; }'.
...
```
This is all true, but when I just resave any file of my project this all doesn't matter any more as the project is reloaded and just works.
My `ionic info`:
```
λ ionic info
√ Gathering environment info - done!
Ionic:
ionic (Ionic CLI) : 4.1.2 (C:\nvm\v10.7.0\node_modules\ionic)
Ionic Framework : ionic-angular 3.5.3
@ionic/app-scripts : 3.2.0
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : android 7.1.1, ios 4.5.5
Cordova Plugins : no whitelisted plugins (8 plugins total)
System:
Android SDK Tools : 26.1.1 (C:\Android)
NodeJS : v10.7.0 (C:\Program Files\nodejs\node.exe)
npm : 6.1.0
OS : Windows 10
```
貢獻指南
研究方向
使用回報的 Ionic CLI、Ionic Framework、app-scripts、Node.js 和 Windows 版本,透過 `ionic serve` 重現首次執行時的行為。比較初始的 TypeScript 診斷結果與儲存檔案後的結果;當初始 serve 不再顯示回報的錯誤,且不需要執行儲存操作時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- typescript
- 領域
- cli
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 35/100