ionic-team / ionic-team/ionic-cli

bug: `--no-deps` option does not work

未关闭
#4,814 1 条评论 4 个 reaction 已指派 0 人 在 GitHub 查看
triage
主要语言
TypeScript
星标
2k
派生
682
PR 合并指标
30 天内没有已合并 PR

描述

### Prerequisites

- [X] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#creating-an-issue).
- [X] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [X] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already report this problem, without success.

### Ionic Framework Version

- [ ] v4.x
- [ ] v5.x
- [X] v6.x

### Current Behavior

on running the command `ionic start "product-hunt-clone" blank --type=react --no-deps`, the ionic cli still runs the `npm i` command, even though the `--no-deps` options is enabled.

### Expected Behavior

`npm i` command should not run, and dependencies should not be installed for a project

### Steps to Reproduce

run the command `ionic start "product-hunt-clone" blank --type=react --no-deps` to create a blank starter project

### Code Reproduction URL

_No response_

### Ionic Info

Ionic:

Ionic CLI : 6.18.1

Utility:

cordova-res : not installed globally
native-run : not installed globally

System:

NodeJS : v16.14.0
npm : 8.3.1
OS : Linux 5.15

### Additional Information

_No response_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。