Comments (4)
Looks like problem with coreutils on linux:
- https://www.gnu.org/software/coreutils/manual/html_node/env-invocation.html#g_t_002dS_002f_002d_002dsplit_002dstring-usage-in-scripts
- https://stackoverflow.com/questions/4303128/how-to-use-multiple-arguments-for-awk-with-a-shebang-i-e
On BSD everything is okay.
I'll remove it and gonna find another way)
from fx.
This is strange, can you provide test enviroment? Or can you debug why this is happening?
Can you run node --max-old-space-size=8192 index.js
?
from fx.
krig@krig /tmp/fx $ y init -y; and y add fx No yarn wrapper present, using yarn on $PATH yarn init v1.10.1 warning The yes flag has been set. This will automatically answer yes to all questions, which may have security implications. success Saved package.json Done in 0.08s. No yarn wrapper present, using yarn on $PATH yarn add v1.10.1 info No lockfile found. [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... [4/4] Building fresh packages... success Saved lockfile. success Saved 10 new dependencies. info Direct dependencies └─ [email protected] info All dependencies ├─ @medv/[email protected] ├─ [email protected] ├─ [email protected] ├─ [email protected] ├─ [email protected] ├─ [email protected] ├─ [email protected] ├─ [email protected] ├─ [email protected] └─ [email protected] Done in 1.08s. krig@krig /tmp/fx $ ./node_modules/.bin/fx nothing happgn9ing....^C⏎ krig@krig /tmp/fx $ node --max-old-space-size=8192 node_modules/fx/index.js Usage $ fx [code ...] Examples $ echo '{"key": "value"}' | fx 'x => x.key' value $ echo '[1,2,3]' | fx 'this.map(x => x * 2)' [2, 4, 6] $ echo '{"items": ["one", "two"]}' | fx 'this.items' 'this[1]' two $ echo '{"count": 0}' | fx '{...this, count: 1}' {"count": 1} $ echo '{"foo": 1, "bar": 2}' | fx ? ["foo", "bar"] $ echo '{"key": "value"}' | fx .key value krig@krig /tmp/fx $ node -v; and y --version v10.12.0 No yarn wrapper present, using yarn on $PATH 1.10.1
edit: you'll have to specify how you want me to debug.
from fx.
reproduced this at home using node 10.12.0 running on debian testing. tried changing interactive shell to bash as well as using npm instead of yarn.
from fx.
Related Issues (20)
- Support streams of JSON objects HOT 4
- Node.js or Deno required to use reducers? HOT 2
- [feature] Add ability to output selection when exiting HOT 6
- feat: toggle unescape strings HOT 2
- Bring back gradiant themes? HOT 1
- Panic error when invoked directly on Windows HOT 2
- Display http headers HOT 8
- Filter line-delimited or streaming JSON without slurping HOT 2
- About 32.0.0 release HOT 4
- Error when selecting field in command line on linux HOT 1
- Invalid content in clipboard after yanking key in wrapped mode
- No autocomplete in `zsh` when JSON doesn't end with a new line
- Any interest in implementing .[] in interactive mode? HOT 1
- Start in collapse mode
- conda-forge package
- Add support for multi-document YAML HOT 1
- Add `--slurp` and `--raw` to interactive mode HOT 1
- Wordy transformations cause `fx` to crash with piped data HOT 4
- Feature request: introduce a hotkey to copy current element path to the clipboard HOT 1
- Raw mode skips last line without newline HOT 1
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 fx.