Giter Club home page Giter Club logo

Comments (5)

sindresorhus avatar sindresorhus commented on June 15, 2024

Native thread-sleep not available.
This will result in much slower performance, but it will still work.
You should re-install spawn-sync or upgrade to the lastest version of node if possible.
Check /Users/benjamincoe/bcoe/yargs/node_modules/spawn-sync/error.log for more details

This is coming from spawn-sync which is used by the execFileSync polyfill I use here to make sync exec work on Node 0.10.

Could also just not spawn on Node 0.10 and remove the polyfill. That would make it possible for yargs to use spawning without having to see that message. Or might yargs be fine with just the non-spawning check?

Like we discussed in that other thread, I think a configuration option for turning off spawning would be an ideal solution

Sure, {spawn: false} sgty?

from os-locale.

bcoe avatar bcoe commented on June 15, 2024

@sindresorhus that sounds great to me, seems like we could just encourage people to make sure LC_ALL is set in their environment to take advantage of translations -- and it would make the Atom people happy to not have yargs spawning.

from os-locale.

nexdrew avatar nexdrew commented on June 15, 2024

Also see PR #11.

from os-locale.

sindresorhus avatar sindresorhus commented on June 15, 2024

Added you both to the repo and npm package, since yargs depends on this. To reduce the bus-factor.

from os-locale.

bcoe avatar bcoe commented on June 15, 2024

awesome, #11 more than addresses my concerns thanks \o/

from os-locale.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.