forty2 / mqtt2homekit

Use MQTT to control HomeKit-enabled devices
MIT License
36 stars 5 forks source link

Error running #2

Open raufis27 opened 6 years ago

raufis27 commented 6 years ago

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; };'