Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gulp.src() doesn't like windows paths with paranthesis in the name? #2824

Open
timint opened this issue Nov 12, 2024 · 1 comment
Open

gulp.src() doesn't like windows paths with paranthesis in the name? #2824

timint opened this issue Nov 12, 2024 · 1 comment

Comments

@timint
Copy link

timint commented Nov 12, 2024

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',
@TiagoAntunesALS
Copy link

TiagoAntunesALS commented Nov 20, 2024

We are having the same issue with the latest version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants