Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 15 15:15

    ehmicky on v3

    Add support for binaries (compare)

  • Sep 15 15:10

    ehmicky on v3

    Add support for binaries (compare)

  • Sep 15 14:09

    ehmicky on v3

    Add support for binaries (compare)

  • Sep 15 14:03

    ehmicky on master

    Improve GitHub issue template Update README Upgrade get-bin-path 1.0.2 -> 3… (compare)

  • Sep 15 14:00

    ehmicky on v3

    Update README Add support for binaries (compare)

  • Sep 15 13:50

    ehmicky on v3

    Improve GitHub issue template Add support for binaries (compare)

  • Sep 15 13:48

    ehmicky on v3

    Add support for global binaries Fix tests Add support for local binaries and 31 more (compare)

  • Sep 15 13:43

    ehmicky on master

    Upgrade Travis from Ubuntu 16.0… (compare)

  • Sep 15 13:38

    ehmicky on master

    Upgrade @ehmicky/dev-tasks 0.30… Fix linting (compare)

  • Sep 14 10:11

    ehmicky on 2.1.0

    (compare)

  • Sep 14 10:11

    ehmicky on master

    Update changelog Release 2.1.0 (compare)

  • Sep 14 10:10

    ehmicky on master

    Upgrade get-node 3.0.1 -> 3.1.0 (compare)

  • Sep 10 10:23

    ehmicky on v3

    Do not return promise anymore Update documentation Update changelog (compare)

  • Sep 10 10:09

    ehmicky on v3

    Fix comment Fix binaries on Windows (compare)

  • Sep 09 10:08

    ehmicky on v3

    Add support for global binaries Fix tests Add support for local binaries and 17 more (compare)

  • Sep 09 10:05

    ehmicky on 2.0.1

    (compare)

  • Sep 09 10:05

    ehmicky on master

    Upgrade get-node 3.0.0 -> 3.0.1 Update changelog Release 2.0.1 (compare)

  • Sep 08 17:30

    ehmicky on master

    Update CONTRIBUTING.md Update ava.config.js Update gulpfile.js and 2 more (compare)

  • Sep 08 17:07

    ehmicky on master

    Update CONTRIBUTING.md Update .prettierrc Update .eslintrc.yml and 2 more (compare)

  • Sep 07 14:30

    ehmicky on master

    Upgrade gulp-shared-tasks 0.30.… (compare)

Mikael Carlsson
@luxwarp
Hey guys. Love NVE. But how do i run a globally installed package like ghost-cli with nve? Like 'ghost install blogname' as node version 10 instead of version 12? :)
ehmicky
@ehmicky
Hi Mikael
You can think of nve ... as a shortcut for node .... I.e. your question is: how do I run a globally installed package with node ...?
Your question is valid for locally installed binaries too.
The thing with binaries is that they rely on the shebang. The shebang calls the global Node.js binary. nve does not modify the global Node.js binary.
So at the moment, on top of my head, you have two options:
1) use a different library for global binaries execution, such as nvm run
ehmicky
@ehmicky
2) call nve on the path to the globally installed package, such as nve 11 "$(which ghost)" install globname
ehmicky
@ehmicky
I am working on a fix right now that allows you to fire both global and local binaries :)
Mikael Carlsson
@luxwarp
Great thnx! :)
ehmicky
@ehmicky
Will update you here once I'm done
Mikael Carlsson
@luxwarp
perfect!
ehmicky
@ehmicky
Alright this turns out to be much much more complicated than expected
So I have a plan on how to fix this, but I won't be able to implement this right away. This will be done for the next major release though.
For the moment, using $(which ghost) as suggested above should work
Mikael Carlsson
@luxwarp
Seems like a plan! :)
Mikael Carlsson
@luxwarp
Fyi using $(which ghost) install works perfectly! So you could add it in the readme :D
ehmicky
@ehmicky
Great! Problem with it is it won't work on Windows cmd.exe
Also the next major release will allow doing nve 11 ghost install globname directly.
Mikael Carlsson
@luxwarp
Looking forward to that release! :)
It will boost the use statistics for nve! :)