Suggest pnpm in missing modules error
- Langage dominant
- JavaScript
- Étoiles
- 408
- Forks
- 111
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez dans index.js vers la ligne 172, où gulp-cli suggère npm install lorsque node_modules est absent. Vérifiez la condition du lockfile du gestionnaire de paquets décrite dans l’issue et vérifiez qu’un projet avec pnpm-lock.yaml reçoit la suggestion pnpm install, tandis que le fallback existant reste inchangé.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript
- Domaine
- cli
- Type d'issue
- Bug
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 55/100