We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The script to work with Gulp v5.0.0
Gulp v5.0.0 starts up, then throws error RangeError: Maximum call stack size exceeded.
RangeError: Maximum call stack size exceeded
const { src, dest, parallel, series, watch } = require("gulp"); function streamTask() { return src(["pdf/**"]); } exports.default = streamTask;
Gulp v5.0.0:
Gulp v4.0.2:
node -v
npm -v
I created a sample project with the above gulpfile and the following package.json:
package.json
{ "name": "test", "version": "1.0.0", "description": "", "scripts": { "dev": "gulp" }, "author": "", "license": "ISC", "devDependencies": { "gulp": "^5.0.0" } }
In the root folder I have the following structure:
test/pdf/* // Contains 50 pdf files test/media/* // Contains approx 84000 random files (images, pdf, videos, etc...) test/package.json test/gulpfile.js
Command used to get file count in root folder: find . -type f | wc -l, result: 84039
find . -type f | wc -l
84039
If I simply change the gulp version from "gulp": "^5.0.0" to "gulp": "^4.0.2" the project works as intended.
"gulp": "^5.0.0"
"gulp": "^4.0.2"
The text was updated successfully, but these errors were encountered:
This is a duplicate of gulpjs/glob-stream#125, please follow that issue for updates.
Sorry, something went wrong.
No branches or pull requests
What were you expecting to happen?
The script to work with Gulp v5.0.0
What actually happened?
Gulp v5.0.0 starts up, then throws error
RangeError: Maximum call stack size exceeded
.Please give us a sample of your gulpfile
Terminal output / screenshots
Gulp v5.0.0:
Gulp v4.0.2:
Please provide the following information:
node -v
): v21.7.2npm -v
): 10.5.0Additional information
I created a sample project with the above gulpfile and the following
package.json
:In the root folder I have the following structure:
Command used to get file count in root folder:
find . -type f | wc -l
, result:84039
If I simply change the gulp version from
"gulp": "^5.0.0"
to"gulp": "^4.0.2"
the project works as intended.The text was updated successfully, but these errors were encountered: