Gatsby: [gatsby-cli] npm warning deprecated graceful-fs

Created on 26 Jan 2018  Â·  5Comments  Â·  Source: gatsbyjs/gatsby

So working, I see:

Update available 1.1.29 → 1.1.31
Run npm i -g gatsby-cli to update  

…during update to [email protected]

npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js

/packages/gatsby-cli/package.json

…looks like that is fs-extra depending on graceful-fs

isaacs/node-graceful-fs:

v4
Do not monkey-patch the fs module. This module may now be used as a drop-in dep, and users can opt into monkey-patching the fs builtin if their app requires it.

Node.js version: 9.4
Operating System: MacOS 10.13.3

Most helpful comment

Great will give it a try and post here if I get stuck or lost!

All 5 comments

Can we bump that to 5.0.0? Or are we holding back for a reason?

https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#500--2017-12-11

5.0.0 / 2017-12-11
Significant refactor of copy() & copySync(), including breaking changes. No changes to other functions in this release.

Nobody has tried upgrading afaik. Would love it if could do the upgrade and take care of any breaking changes! Perhaps it might take care of all the weird copy issues on Windows

Great will give it a try and post here if I get stuck or lost!

Due to the high volume of issues, we're closing out older ones without recent activity. Please open a new issue if you need help!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KyleAMathews picture KyleAMathews  Â·  3Comments

benstr picture benstr  Â·  3Comments

3CordGuy picture 3CordGuy  Â·  3Comments

brandonmp picture brandonmp  Â·  3Comments

magicly picture magicly  Â·  3Comments