Open tiffchros opened 4 years ago
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:
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
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:
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:
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.
Thanks, way beyond my capabilities – I’m into pi zero’s and Arduino pro mini – small is beautiful.
From: Dave Conway-Jones @. Sent: 26 March 2021 14:48 To: dceejay/openwrt-node-red @.> Cc: Shanteyman @.>; Comment @.> Subject: Re: [dceejay/openwrt-node-red] Install not working with OpenWrt 19.07.1 (#3)
Yes - the package was built on OpenWRT 18 needs some work to redo on 19 Happy to look at a Pull request if anyone interested and has the time.
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/dceejay/openwrt-node-red/issues/3#issuecomment-808277759, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AF4D3VWZLYIHVQXHBI6JNWDTFSNDJANCNFSM4KZT7WMQ.
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:
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:
root@OpenWrt:~# opkg install node-red_1.0.3.ipk Collected errors:
Model: TP-Link Archer C2600 Firmware Version: OpenWrt 19.07.1 r10911-c155900f66 / LuCI openwrt-19.07 branch git-20.029.45734-adbbd5c