Suggest pnpm in missing modules error
- Lenguaje dominante
- JavaScript
- Estrellas
- 408
- Forks
- 112
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Empieza en index.js alrededor de la línea 172, donde gulp-cli sugiere npm install cuando falta node_modules. Comprueba la condición del lockfile del gestor de paquetes descrita en el issue y verifica que un proyecto con pnpm-lock.yaml reciba la sugerencia pnpm install, mientras que el fallback existente permanece sin cambios.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript
- Área
- cli
- Tipo de issue
- Error
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bien especificado
- Aptitud para principiantes
- 55/100