ionic-team / ionic-team/ionic-cli

Unable to create Ionic 4 Project with Inic CLI 4

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

描述

**Description:**

I have installed Ionic CLI 4.12.0 to be able to create Ionic 4 Project. But, when I open my newly created project, I found out that my _package.json_ file contains dependencies for Ionic 5.

**"dependencies": {
"@angular/common": "~9.1.6",
"@angular/core": "~9.1.6",
"@angular/forms": "~9.1.6",
"@angular/platform-browser": "~9.1.6",
"@angular/platform-browser-dynamic": "~9.1.6",
"@angular/router": "~9.1.6",
"@ionic-native/core": "^5.0.7",
"@ionic-native/splash-screen": "^5.0.0",
"@ionic-native/status-bar": "^5.0.0",
"@ionic/angular": "^5.0.0",
"rxjs": "~6.5.1",
"tslib": "^1.10.0",
"zone.js": "~0.10.2"
}**

Is there any way to create Ionic 4 Project ?

**My `ionic info`:**

```
Ionic:

ionic (Ionic CLI) : 4.12.0

System:

NodeJS : v12.14.1
npm : 6.13.4
OS : Windows 10
```
Thank you

貢獻指南

開啟貢獻指南

研究方向

Reproduce the project creation with Ionic CLI 4.12.0 and inspect the generated package.json, comparing its Angular and @ionic/angular dependencies with the requested Ionic 4 project. Check the CLI's available project templates or version-selection behavior. Done means the generated dependencies match Ionic 4, or the supported way to create that project is documented.

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

評估

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

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

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