It does not appear that the TTN installer currently has support for mlinux 5.0.0. This would need to be provided by TTN.
Also the mlinux-factory-image should be used as it has support for nodejs.
installer.sh: line 822: node: command not found
The device should be downgraded to a version supported by TTN or the TTN installer not used until it is supported.
Otherwise you could install the mlinux-factory-image 5.0.0 or AEP 5.0.0 and use the already installed Semtech packet forwarder to connect to TTN.
Downloads
Flashing mLinux Firmware
Conduit mLinux: Convert to Basic Packet Forwarder
Conduit AEP: Convert to Basic Packet Forwarder
AEP would be easiest to configure, there is a dropdown and region selector.
Replace the server information in the configurations above with the TTN info according to your region.
https://github.com/TheThingsNetwork/gateway-conf
“server_address”: “router.as1.thethings.network”,
“serv_port_up”: 1700,
“serv_port_down”: 1700,