ionic-team / ionic-team/ionic-cli

CLI reports "Cordova Platforms : none" although platforms are installed

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

描述

I noticed more and more posts in the forum that do include `ionic info` output to report "Cordova Platforms : none":
https://forum.ionicframework.com/search?q=%22cordova%20platforms%22%20none%20order%3Alatest

See these two posts for a good example:
https://forum.ionicframework.com/t/windows-10-sdk-missing/126215/3
https://forum.ionicframework.com/t/windows-10-sdk-missing/126215/5

So while `ionic info` is reporting that no platforms are installed, in reality there are platforms already added to the project which can be seen from the `ionic cordova platform list` output.

貢獻指南

開啟貢獻指南

研究方向

先在已加入平台的專案中執行 `ionic info` 和 `ionic cordova platform list`,然後追蹤產生各項輸出的 CLI 入口點。比較每個命令偵測已安裝平台的方式,並讓 `ionic info` 回報相同的平台;根據所回報的 Windows SDK 情境驗證結果。

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

評估

技術堆疊
typescript
領域
cli
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

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

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