question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

With Node 6, Gulp outputs more JS stack traces than useful messages

See original GitHub issue

I 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:closed
  • Created 7 years ago
  • Reactions:5
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
mgolcommented, May 2, 2016

@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.

0reactions
phatedcommented, May 2, 2016

@mgol thanks for looking into this and giving a clear response!

Read more comments on GitHub >

github_iconTop Results From Across the Web

See full stack trace on gulp exception
I looked in gulp.config.js and in gulp.util.js. I read this report but I think it must be easier than that. Who knows how...
Read more >
Diagnostics in Node.js Part 1/3
A diagnostic is a practice concerned with determining a particular problem using a combination of data and information.
Read more >
Bunyan
Bunyan is a simple and fast JSON logging library for node.js services: ... stack) and sets "msg" to the exception // message. log.info(err,...
Read more >
SPFx overclockers or how to significantly speed up the " ...
I've tried to reduce the amount of time the "gulp serve" command uses to re-build ... It gets your sources and outputs javascript...
Read more >
Hírek, események - Page 9 of 21 - RisingStack Engineering
This also means that Node.js Version 6 will go into maintenance mode in April ... with V8 versions older than 5.6, so anything...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found