Comments (5)
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.
@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.
Also see PR #11.
from os-locale.
Added you both to the repo and npm package, since yargs
depends on this. To reduce the bus-factor.
from os-locale.
awesome, #11 more than addresses my concerns thanks \o/
from os-locale.
Related Issues (20)
- Bad locale resolution based on POSIX variables HOT 3
- Can not get Locale in Mac with locale zh_ch.utf8 HOT 5
- Switch to a Promise interface HOT 4
- Custom defaultLocale like en instead of en_US? HOT 2
- [feature request] return system encoding HOT 3
- TypeError HOT 2
- Generating invalid locale
- After upgrade electron to 2.0.3 os-locale is not working HOT 1
- Use dash instead of underscore to be standard compliant HOT 2
- Release v2.1.1 with mem 4.0.0 HOT 1
- os-locale calls wmic with no extension and without explicit path HOT 6
- Security issue
- yarn test causing "Error while loading rule '@typescript-eslint/await-thenable'" HOT 1
- Module build failed: UnhandledSchemeError: Reading from "node:child_process" is not handled by plugins (Unhandled scheme) HOT 2
- Get error message: Error [ERR_REQUIRE_ESM]: Must use import to load ES Module while import os-locale HOT 6
- support Apple Languages
- Locale detection for macOS seems broken HOT 1
- How to read `LC_TIME` with this lib? HOT 1
- Errors exec-ing locale and defaults
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from os-locale.