Code Monkey home page Code Monkey logo

Comments (2)

sdesalas avatar sdesalas commented on August 22, 2024

Hi Dave,

Thanks for the feedback but this is not something I'm not looking to implement at the moment.

Aside from the easy workaround (just reinstall them after upgrading/downgrading node), one can't just assume that global modules will work across node versions so its safer/easier to wipe them. The only other way would be to install each node version in its own directory and point the executable there instead, this is the way nvm works but I am not looking to rewrite nvm for the pi at the moment, too much work.

Steven

from node-pi-zero.

thisdavej avatar thisdavej commented on August 22, 2024

Hi Steven, my concern is primarily for the many newbies/hobbyists who will be using this. They will have a surprise waiting for them when they implement a small point upgrade from node 9.9.0 to node 9.11.1 and their global modules are wiped. There is no package.json they can npm install to reinstall the global npm packages. They must try to remember the 7 packages they installed globally after first experiencing the consternation of not knowing why http-server, for example, no longer works.

Once again, thanks for maintaining this repository. I use the NodeSource Repositories for my Raspberry Pi systems, but they do not support the Pi Zero (ARMv6 chipsets) so I have been using your solution.

from node-pi-zero.

Related Issues (15)

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.