Comments (6)
I'm getting the same error with the latest bump to 1.0.4
root@OpenWRT-P1:/tmp# opkg install /tmp/node-red_1.0.4.ipk
Collected errors:
- pkg_init_from_file: Malformed package file /tmp/node-red_1.0.4.ipk.
Hostname OpenWRT-P1
Model Linksys WRT1900AC
Architecture ARMv7 Processor rev 2 (v7l)
Firmware Version OpenWrt 19.07.1 r10911-c155900f66 / LuCI openwrt-19.07 branch git-20.029.45734-adbbd5c
Kernel Version 4.14.167
from openwrt-node-red.
Install fails with the errors as below. The files were downloaded to the Openwrt box.
OpenWrt 19.07.4, r11208-ce6496d796
opkg install node-red_1.2.9.ipk
Installing node-red (1.2.9) to root...
Collected errors:
- satisfy_dependencies_for: Cannot satisfy the following dependencies for node-red:
-
node-npm
- opkg_install_cmd: Cannot install package node-red.
opkg install node-npm_v8.16.1-1_aarch64_cortex-a72.ipk
Unknown package 'node-npm'.
Collected errors:
- pkg_hash_fetch_best_installation_candidate: Packages for node-npm found, but incompatible with the architectures configured
- opkg_install_cmd: Cannot install package node-npm.
from openwrt-node-red.
Yes - the package was built on a previous version of OpenWRT
needs some work to redo on 19 and with a decent level of node.js. (eg 12 or 14)
Happy to look at a Pull request if anyone interested and has the time.
from openwrt-node-red.
from openwrt-node-red.
Following worked for me:
Because my internal storage of my router is too small, I mount a USB stick to /root
:
mkdir /usr/lib/node_modules
mount -o bind /root/node_modules /usr/lib/node_modules/
Node-Red installation:
opkg install node-npm
reboot
(make sure, usb stick is mounted again to /root
and /usr/lib/node_modles
)
npm install -g --unsafe-perm node-red
Start Node-Red:
- Screen session:
node-red
from openwrt-node-red.
Thanks for above. Unfortunately, lots of space just incompatibility of architectures???
opkg install node-npm_v8.16.1-1_aarch64_cortex-a72.ipk
Unknown package 'node-npm'.
Collected errors:
- pkg_hash_fetch_best_installation_candidate: Packages for node-npm found, but incompatible with the architectures configured
- opkg_install_cmd: Cannot install package node-npm.
from openwrt-node-red.
Related Issues (6)
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 openwrt-node-red.