jensstigaard / node-vmix

Node.js vMix utility to easily send commands and receive info such as xml data or real time tally from a vMix instance
MIT License
25 stars 7 forks source link

NPM package broken #9

Closed thorsby closed 3 years ago

thorsby commented 3 years ago

The version 1.3.3 and 1.3.2 as published to NPM seems to be missing the correct build step before publishing.

First time using the package, I could not get simple commands to work using latest vMix version and a fresh npm install node-vmix

Using debug option on node-vmix and diving in to the code in the build directory, there is a bug which prevents the function name to be passed into the final command string using TCP connection. This part of the code seems to already be completely rewritten, so I have not bothered to look further.

Running the NPM build script seems to resolve everything, so I would conclude that the code in the build directory in the NPM package is not actually a current build.

jensstigaard commented 3 years ago

Hi Anders

Thanks for the report.

I have now updated the NPM package to version 1.3.4 which should include newly build code, which has fixed the debug option and derived errors.

Update your project to be using the newest version, and you should be good to go. The issue is open for now, but I will close it within a couple of days if there has been no activity.

Cheers

/ Jens

thorsby commented 3 years ago

Works great.