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.

node 7 support / graceful-fs / gulp 4

See original GitHub issue

Node7 is now officially released. Any plans to release gulp4 soon? Right now gulp fails due to the graceful-fs dependency.

Error: Cannot find module 'internal/fs'
    at Function.Module._resolveFilename (module.js:472:15)
    at Function.Module._load (module.js:420:25)
    at Module.require (module.js:500:17)
    at require (internal/module.js:20:19)
    at evalmachine.<anonymous>:17:20
    at Object.<anonymous> (/xxx/node_modules/vinyl-fs/node_modules/graceful-fs/fs.js:32:1)
    at Module._compile (module.js:573:32)
    at Object.Module._extensions..js (module.js:582:10)
    at Module.load (module.js:490:32)
    at tryModuleLoad (module.js:449:12)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:14
  • Comments:17 (3 by maintainers)

github_iconTop GitHub Comments

20reactions
toby1991commented, Nov 3, 2016

yarn will help u

16reactions
dodge107commented, Nov 15, 2016

no - just edited my package.json file as follows:

"gulp": "^3.9.1",

and ran npm install - small waring but worked.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix "ReferenceError: primordials is not defined" in Node.js
I was using Gulp 4, but a old gulp plugin was internally depending on old graceful-fs version. Culprit can be found using npm...
Read more >
graceful-fs - npm
graceful-fs functions as a drop-in replacement for the fs module, making various improvements. The improvements are meant to normalize behavior ...
Read more >
Gulp 4.0 Upgrade Guide - zzz.buzz
If you are using node 7 or later, you have to use gulp 4. Gulp <4.0 depends on old version of graceful-fs (<3.0.0)...
Read more >
npm install, npm audit fix errors out - Laracasts
npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js npm ERR! path /home/vagrant ...
Read more >
Upgrading your Gulp for running with Node 10 - Davidsekar.com
The latest version of NodeJs v10, throws error with Gulp version 3.x. ... post will help you with changes on how to upgrade...
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