gulpjs / gulpjs/gulp-cli

Suggest pnpm in missing modules error

Open
#243 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
408
Forks
112
PR merge metrics
No merged PRs in 30d

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
![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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.