Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Native thread-sleep not available." when gulp images #691

Closed
angusjune opened this issue May 20, 2015 · 5 comments
Closed

"Native thread-sleep not available." when gulp images #691

angusjune opened this issue May 20, 2015 · 5 comments
Labels

Comments

@angusjune
Copy link

Terminal warning:
"Native thread-sleep not available.
This will result in much slower performance.
You should re-install spawn-sync if possible."
And the images won't be copied to directory app.

Tried to re-install spawn-sync, but didn't fix the problem.

@TatsuyaHishima
Copy link

I'm in same problem and found how to remove the warning.

npm list

would shows you need "try-thread-sleep" to use spawn-sync.

So, add bellow in your "package.json" and "npm install" again.

"try-thread-sleep": "^1.0.0",

@rizqinizamil
Copy link

Solved after installing try-thread-sleep

@doomsbuster
Copy link

@TatsuyaHishima and @rizqinizamil thanks for you inputs. I ran the npm list and it clearly indicated the error
npm ERR! missing: try-thread-sleep@^1.0.0, required by spawn-sync@1.0.13 npm ERR! missing: try-thread-sleep@^1.0.0, required by spawn-sync@1.0.11 npm ERR! not ok code 0
I installed try-thread-sleep and the error went away.

@addyosmani
Copy link
Contributor

For anyone that runs into this in future, the resolution is:

  1. Upgrade to node@0.12 or node 4
  2. Install try-thread-sleep as a dependency of your app directly.

It should no longer be an issue in master.

@yuseferi
Copy link

Worked for me too . tnx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants