mqtt2homekit -m mapping.json
/usr/local/bin/mqtt2homekit: line 1: use strict: command not found
/usr/local/bin/mqtt2homekit: line 3: syntax error near unexpected token (' /usr/local/bin/mqtt2homekit: line 3:var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };'
mqtt2homekit -m mapping.json /usr/local/bin/mqtt2homekit: line 1: use strict: command not found /usr/local/bin/mqtt2homekit: line 3: syntax error near unexpected token
(' /usr/local/bin/mqtt2homekit: line 3:
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };'