hello,
I packaged js service and trying to install the package to raspberry pi but below error is occurred.
How can I fix the problem?
ares-install ERR! ares-install: Error: luna-send command failed (duplicate command while current command has not completed, ignoring)
ares-install verb Error: luna-send command failed (duplicate command while current command has not completed, ignoring)
at _onLine (C:\ares-cli\node_modules\ares-webos-sdk\lib\luna.js:74:12)
at Array.forEach (native)
at _onData (C:\ares-cli\node_modules\ares-webos-sdk\lib\luna.js:62:24)
at Channel. (C:\ares-cli\node_modules\ares-webos-sdk\lib\novacom.js:835:56)
at emitOne (events.js:96:13)
at Channel.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Channel.Readable.push (_stream_readable.js:134:10)
at SSH2Stream. (C:\ares-cli\node_modules\ares-webos-sdk\node_modules\ssh2\lib\Channel.js:166:15)
at emitOne (events.js:96:13)
It is recommended to install ipk, which is packaged by ares-package, with ares-install, because LS2 configuration files are created/installed through ares-install. Without the configuration files, the installed app/service can not use LS2-service.
If you are looking for a replacement for ares-install, please use the install method of the appinstall service.
If an ipk contains the required ls2 configuration files, you can install it with opkg install.