Coder Social home page Coder Social logo

can't install 6.9.2...? about nodenv HOT 3 CLOSED

osher avatar osher commented on July 2, 2024
can't install 6.9.2...?

from nodenv.

Comments (3)

osher avatar osher commented on July 2, 2024

baah. found it.

The versions list is a part of the node-build plugin, typically installed at ~/.nodenv/plugins/node-build.

To install new versions, one must enter this folder, and git pull.

If there is a better / smarter / more integrated way to do that - I'd love to know.

from nodenv.

jasonkarns avatar jasonkarns commented on July 2, 2024

node-build (which is the plugin under the nodenv install covers) doesn't touch the web. node-build uses local definition files (for myriad intentional design reasons).

You mentioned git pull so I assume you installed nodenv via git clone and not via homebrew? Which means I assume you installed node-build via git clone as well? You'll need to do git-pull from node-build's directory ($(nodenv root)/plugins/node-build)

For any git-installed plugins, there is the nodenv-update plugin, which just iterates through all plugins and issues git pull command: https://github.com/nodenv/nodenv-update

from nodenv.

jasonkarns avatar jasonkarns commented on July 2, 2024

Ah, I see you figured it out on your own! Comment-race-condition :)

I would look into nodenv-update for keeping all nodenv plugins (including node-build) up to date.

There is also node-build-update-defs plugin. Instead of updating node-build, this plugin actually scrapes nodejs.org and creates new build definition files. However, you then need to occasionally prune the scraped build defs that were created by node-build-update-defs because as node-build is updated, you'll end up with duplicate build defs (between the ones you scraped and the ones that are continually added to node-build itself).

from nodenv.

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.