Suggest pnpm in missing modules error
- Vorherrschende Sprache
- JavaScript
- Sterne
- 408
- Forks
- 112
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Before you open this issue, please complete the following tasks:
* [x] use the search bar at the top of the page to search this repository for similar issues or discussions that have already been opened.
* [x] if you are looking for help from the gulp team or community, open a [discussion](https://github.com/gulpjs/gulp/discussions).
* [x] if you think there is a problem with the plugin you're using, open a [discussion](https://github.com/gulpjs/gulp/discussions).
* [x] if you think there is a bug in our code, open this issue.
### What were you expecting to happen?
If node_modules aren't present and `pnpm-lock.yaml` is present, gulp-cli should say "Try running: pnpm install"
### What actually happened?
It defaults to suggesting "npm install". The issue is [this line](https://github.com/gulpjs/gulp-cli/blob/master/index.js#L172).
### Please give us a sample of your gulpfile
N/A
### Terminal output / screenshots

### Please provide the following information:
N/A - This happens in any environment.
### Additional information
N/A
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Start at index.js around line 172, where gulp-cli suggests npm install when node_modules is missing. Check the package-manager lockfile condition described in the issue and verify that a project with pnpm-lock.yaml receives the pnpm install suggestion while the existing fallback remains unchanged.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript
- Bereich
- cli
- Issue-Typ
- Bug
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 55/100