sails: Grunt issue on sailslift - error: Grunt :: (node:6532) fs: re-evaluating native module sources is not supported.

Sails version: 0.12.3 Node version: 6.0.0 NPM version: 3.8.6 Operating system: Windows 10 64bit


Hi,

I just upgraded node to itโ€™s latest version (6.0.0) and when lifted my sails app i got this error:

error: Grunt :: (node:6532) 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.

Any ideas what it could be?

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 4
  • Comments: 21 (2 by maintainers)

Most upvoted comments

Hello guys I solved this problem on my PC ๐Ÿ˜ƒ

Just install this package: https://www.npmjs.com/package/npm-check-updates

then go into your sails project and type in

ncu

Youโ€™ll see all the modules you can update. To update them type in

ncu -u npm install

And itโ€™s done ๐Ÿ˜ƒ

@VirtualWolf Help sails upgrade to grunt 1.0 and grunt-contrib-watch 1.0. That should fix the problem. ๐Ÿ˜ƒ

got same problem here.

Hey, just in case anyone is checking this. Latest sailsjs version is using grunt 1.0.0 which solved the problem for me.

I updated sails, then created a new temp project and copied the package.json dependencies to my project.