Comments (2)
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.
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)
- Other Raspberry Pi Versions HOT 5
- global install packages are not found HOT 2
- Failed to create symbolic link HOT 1
- Error LTS HOT 3
- Search Engine Optimization HOT 3
- Too many symlinks HOT 1
- Symlink npx HOT 2
- Node v12? HOT 3
- v.lts fails trying to download node-v10.20.0-linux-armv6l.tar.gz HOT 1
- Not able to control the power on the Kettler from Zwift HOT 1
- Quick Install installation not working HOT 1
- Node.js not installing on Debian 11 bullseye HOT 2
- how to downgrade npm 6.14.8 to be compatible w/ node 8.10 HOT 3
- Failure to unlink + more
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 node-pi-zero.