Giter VIP home page Giter VIP logo

Comments (4)

antonmedv avatar antonmedv commented on July 19, 2024 1

Looks like problem with coreutils on linux:

On BSD everything is okay.

I'll remove it and gonna find another way)

from fx.

antonmedv avatar antonmedv commented on July 19, 2024

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.

gimerstedt avatar gimerstedt commented on July 19, 2024
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.

gimerstedt avatar gimerstedt commented on July 19, 2024

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)

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.