gulpjs / gulpjs/gulp-cli

Suggest pnpm in missing modules error

Aperta
#243 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
408
Fork
112
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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
![modules-not-found-gulp](https://github.com/gulpjs/gulp-cli/assets/16446715/54055f11-6bfd-46e7-94ba-f64f6f58d2e6)

### Please provide the following information:
N/A - This happens in any environment.

### Additional information
N/A

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.