gulp.src() doesn't like windows paths with paranthesis in the name?
- Dominant language
- JavaScript
- Stars
- 32.9k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
### What were you expecting to happen?
I expected gulp.src() to resolve a file.
### What actually happened?
It produced an error:
```
Error: File not found with singular glob: D:/Projects/My Project \(alpha\)/public_html/backend/template/less/app.less
```
### Please give us a sample of your gulpfile.mjs
```
import gulp from 'gulp';
...
var gulp = require(‘gulp');
...
gulp.task('less-to-css', function() {
return gulp.src([
'public_html/backend/template/less/app.less',
...
})
...
```
### Please provide the following information:
* Windows 11 24H2
* Node.js v23.1.0
* NPM v10.9.0
* gulp 5.0.0
### Additional information
- Preceeding the file with ./ does not work.
- Providing the absolute path circumvents the problem.
```
'D:/Projects/My Project (alpha)/public_html/backend/template/less/app.less',
```
Contributor guide
Assessment
This issue has not been assessed yet.