With Node 6, Gulp outputs more JS stack traces than useful messages
See original GitHub issueI tried out Node 6 and, after deleting node_modules and running npm install
, when I run gulp
, I receive pages and pages of "JS stack trace"s. Starting with:
(node:94076) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
Here’s the full output: http://pastebin.com/6Zxgz8Ar
It makes it really, really difficult to use Gulp 3 on Node 6 if I have difficulty finding the normal output amongst the gobs of undesirable stack traces.
I’m fairly certain this is the fall out of #1571
I know that newer vinyl-fs versions don’t use graceful-fs 3 or earlier, but we can’t upgrade to that because it will cause API breakage.
One solution to this would be to update an older version vinyl-fs to not use graceful-fs 3 or earlier. And then to update gulp 3.9.x branch with the fixed dependencies.
Given the number of issues I see open for vinyl-fs, it doesn’t look like Gulp 4 will be released quick enough to resolve this Node 6 issue in a timely matter (1-2 weeks from now.) Homebrew just upgraded me to Node 6 and the number of people who are upgrading is going to keep growing, so this is a critical issue, imo.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:5
- Comments:5 (1 by maintainers)
Top GitHub Comments
@JohnAlbin I’ve looked at your gist and it’s node-sass that generates those stack traces, not Gulp. Gulp only prints a small harmless warning and that won’t be fixed in Gulp v3 according to #1571. The node-sass issue is https://github.com/sass/node-sass/issues/1484, it’s already fixed and the next node-sass version will contain the fix.
So I think this issue should be closed as it’s unrelated to Gulp.
@mgol thanks for looking into this and giving a clear response!