cli: 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.

Using node v6.0 this error is reported:

(node:61377) 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.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 127
  • Comments: 22

Commits related to this issue

Most upvoted comments

node v6 is still not supported in many packages. Consider going back to v5.

“Node.js v5 will continue to be supported for the next two months in order to give developers currently using v5 time to transition to Node.js v6.”

https://nodejs.org/en/blog/release/v6.0.0/

Upgrading npm to latest removed these errors for me: npm upgrade -g npm

Guys it is just a warning. The CLI still works. More details can be found here https://github.com/gulpjs/gulp/issues/1571

yes, it’s just a warning, but when you’re running a script that has messages you care about this is a very large amount of annoying noise.

that said, for me, on v6.2.1, @trevordmiller 's solution to run npm upgrade -g npm solved it for me. thanks @trevordmiller !

how update graceful-fs

@arnonhongklay V6 is stable. They no longer use the term stable, and instead use “current” (which 6 is right now).

I’m on node v6.4.0 and npm v3.10.6 and still experiencing this issue.

Here is a tree of sequelize dependencies that use graceful-fs. If you want this warning to disappear faster, contact the maintainers and ask them to upgrade their dependencies so they will only use graceful-fs version 4 or greater. Afterwards, the warning will disappear.

sequelize-cli@2.4.0 /home/prl/Projects/Sequelize/cli
├─┬ fs-extra@0.30.0
│ └── graceful-fs@4.1.2 
├─┬ gulp@3.9.1
│ └─┬ vinyl-fs@0.3.14
│   ├─┬ glob-watcher@0.0.6
│   │ └─┬ gaze@0.5.2
│   │   └─┬ globule@0.1.0
│   │     └─┬ glob@3.1.21
│   │       └── graceful-fs@1.2.3 
│   └── graceful-fs@3.0.8 
├─┬ mocha@2.4.5
│ └─┬ glob@3.2.3
│   └── graceful-fs@2.0.3 
└─┬ sqlite3@3.1.3
  └─┬ node-pre-gyp@0.6.25
    ├─┬ tar@2.2.1
    │ └─┬ fstream@1.0.8
    │   └── graceful-fs@4.1.3 
    └─┬ tar-pack@3.1.3
      └─┬ fstream@1.0.8
        └── graceful-fs@4.1.3 

I waiting for v6 stable

In order to remove those errors I had to run this in the terminal curl -L https://www.npmjs.org/install.sh | sh then upgraded npm to the latest and put node on version 6.0.0

I am using n, I switch from node 5 to 6, I ran the typical node rebuild node-sass and it shows the error:

(node:61377) 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.

That error/warning doesn’t show up anymore once I installed node 6.0.0.

I think that one of the main issues here, is the node version that you used when the project begun, so the fixes of one dev wouldn’t the same for the other devs.

Is very hard to believe that every time we switch to a new version of node or any other package is upgraded, we have to live this hell, I’ve been trying to make my project to run for around 3 hours. It’s ridiculous.

Hi

I am still finding this issue. Request to help. My version details are in the below screenshot.

image

I’m on node v6.11.2 and npm v3.10.10 and still experiencing this issue.