Unable to install node

Hi,
i'm unable to install on my openwrt router with opkg and i don't know where i can find a ipk for my arch

root@OpenWrt:~# opkg install node
Unknown package 'node'.
Collected errors:
 * opkg_install_cmd: Cannot install package node.
Model	TP-Link Archer C7 v5
Architecture	Qualcomm Atheros QCA956X ver 1 rev 0
Firmware Version	OpenWrt 19.07.3 r11063-85e04e9f46 / LuCI openwrt-19.07 branch git-20.136.49537-fb2f363
Kernel Version	4.14.180
Arch MIPS 74Kc V5.0
opkg update; opkg install node

What is the output?

1 Like

Package exists.
However it doesn't seem to be available for the architecture of your router.

1 Like
root@OpenWrt:~# opkg update; opkg install node
Downloading http://downloads.openwrt.org/releases/19.07.3/targets/ath79/generic/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading http://downloads.openwrt.org/releases/19.07.3/targets/ath79/generic/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.3/targets/ath79/generic/kmods/4.14.180-1-b84a5a29b1d5ae1dc33ccf9ba292ca1d/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_kmods
Downloading http://downloads.openwrt.org/releases/19.07.3/targets/ath79/generic/kmods/4.14.180-1-b84a5a29b1d5ae1dc33ccf9ba292ca1d/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/mips_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/mips_24kc/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/mips_24kc/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/mips_24kc/luci/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/mips_24kc/packages/Packages.gz

Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/mips_24kc/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/mips_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/mips_24kc/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/mips_24kc/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/mips_24kc/telephony/Packages.sig
Signature check passed.
Unknown package 'node'.
Collected errors:
 * opkg_install_cmd: Cannot install package node.
1 Like

Yes i already see it but there is no where i can find it ?

You can try to build it yourself:
https://openwrt.org/docs/guide-developer/single.package

1 Like

Yes i'm trying that: https://github.com/netbeast/docs/wiki/Cross-Compile-Nodejs-for-OpenWrt
but i don't know if it will work

Do you know what i have to put here for my arch?

ARCH="mips-openwrt-linux-uclibc"
TARCH="mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2"

and do i need to install nodejs dependencies before?

https://openwrt.org/docs/guide-developer/build-system/use-buildsystem#image_configuration

make menuconfig is the command that help for to know what i have to put?

1 Like

I think it fails to build for mips_24kc as it would be too big. It is over 5MB for x86....