-
-
Notifications
You must be signed in to change notification settings - Fork 51
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 v5.0.0. Problem via src
usage with external gulpfile.js
#130
Comments
Thanks for the report. I haven't debugged anything here, but I think the issue is that glob-stream always starts at the Can you try adding an explicit cwd to your src? Something like |
If the above proves to solve the issue, we may need to resolve the "most common directory" of all globs to start the walkdir 🤔 |
Blaine, thanks for your help!!! 🙏 🙏 🙏 🙏 I've followed your tip and done this steps:
Current
|
As notice if you won't mind: |
This comment has been minimized.
This comment has been minimized.
I can confirm, that
PS: |
What were you expecting to happen?
Expected
npx gulp --gulpfile ./configs/gulp/gulpfile.js html
to bundle html file viagulp-file-include
plugin and a few more ones (check thegulpfile.js
for details).P.S. via [email protected] and [email protected] everything works fine.
What actually happened?
Got the exception with the
globs argument
according to Gulp official docs.Please give us a sample of your gulpfile
Link to my bolerplate
gulpfile.js
is atconfigs/gulp/gulpfile.js
Terminal output / screenshots
Please provide the following information:
node -v
): v21.7.1npm -v
): 10.5.0gulp -v
): 5.0.0Steps to reproduce:
works fine;
Additional information
The problem occurs only when
gulpfile.js
placed not in a root of a project (in a root folder it works fine with the relevantsrc
paths).Via [email protected] and [email protected] everything works fine.
No globally installed packages were used.
The boilerplate is set to use modules (
type: module
inpackage.json
is set). Check the description for more.P.S. Thank you the
Gulpjs Team
for Hard work and Tools!!!gulpjs.com/docs
is Awesome resource for learning the tool! I really enjoyed the way you've done it - imho, one of the best ever!Great job done, Team!)))
The text was updated successfully, but these errors were encountered: