ionic-team / ionic-team/ionic-cli

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

Open
#4,814 1 comment 4 reactions 0 assignees View on GitHub
triage
Dominant language
TypeScript
Stars
2k
Forks
682
PR merge metrics
No merged PRs in 30d

Description

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.