Edit
\insteon\node_modules\harmonyhubjs-client\node_modules\node-xmpp-client\node_modules\node-xmpp-core\lib\StreamParser.js
, LtxParser = require('ltx/lib/parsers/node-expat')
then go to insteon\node_modules\harmonyhubjs-client\node_modules\node-xmpp-client\node_modules\node-xmpp-core
and npm install node-expat