node -v
v8.0.0
I get this message after upgrading node.
Use the search.
Sometimes a successful search is prevented by premature locking issues
I stumbled upon the same issue on a clean travis build:
https://travis-ci.org/gms1/node-async-context/builds/241440316
and in my case removing the package-lock.json did the trick
@phated you could actually be more helpful and link to the solution, if you know where it is.
What I did to resolve the issue is combine @gms1 's solution with the one found in issue #1967. To sum up,
npm rebuild node-sassnode_modules and package-lock.jsonnpm installAnd then my gulp built worked. I'm on node 8.1.0 and npm 5.0.4.
It's said to be a problem of newest npm being broken.
Installing gulp locally in the current directory solves it for me.
Go into the directory of your project.
sudo npm install gulp
no -g tag.
If you are working on multiple projects, oh well... try the solution at https://github.com/gulpjs/gulp/issues/1967
duplicate of #1967
Most helpful comment
Sometimes a successful search is prevented by premature locking issues
I stumbled upon the same issue on a clean travis build:
https://travis-ci.org/gms1/node-async-context/builds/241440316
and in my case removing the package-lock.json did the trick