grunt-contrib-sass: Random "Warning: Errno::ENOENT: No such file or directory"

I’m getting a lot of random issues like 1/3 of the time I save a file (using a watch config). Sometimes happen during first build so not related to watch I think.

Using v0.4.1.

Warning: Errno::ENOENT: No such file or directory - ./.sass-cache/a2bcc5caa8ce244248ac392bcdf3cb6fa5e06e10/_listing.scssc
      Use --trace for backtrace. Use --force to continue.

Any idea why ?

About this issue

  • Original URL
  • State: closed
  • Created 11 years ago
  • Comments: 48 (2 by maintainers)

Most upvoted comments

Upgrading Ruby/SASS did not help, but downgrading to grunt-contrib-sass v0.8.1 did it for me. Error seemed only to occur on windows-systems. Maybe that might help anyone else.

Install:

Ruby 2.2 grunt-contrib-sass to 0.4.x

and this fix my problem

noCache: true in settings seems to work too fwiw.