jhuckaby / performa-satellite

Remote data collector for Performa.
Other
15 stars 2 forks source link

Windows executable error #3

Open red-erik opened 4 years ago

red-erik commented 4 years ago

Hello, on Windows 10 I receive

(node:24564) UnhandledPromiseRejectionWarning: Error: not supported at process.nextTick (C:\snapshot\node_modules\performa-satellite\node_modules\systeminformation\lib\filesystem.js:502:21) at process._tickCallback (internal/process/next_tick.js:61:11) (node:24564) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:24564) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. (node:24564) UnhandledPromiseRejectionWarning: Error: not supported at process.nextTick (C:\snapshot\node_modules\performa-satellite\node_modules\systeminformation\lib\filesystem.js:356:21) at process._tickCallback (internal/process/next_tick.js:61:11) (node:24564) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)

Regards, Red.

jhuckaby commented 4 years ago

Thanks for the issue report -- I figured that wouldn't work. I don't have a Windows machine to develop or test on, so that Windows EXE is just provided "as is" in case it happens to work. I suspect the NPM systeminformation package isn't fully compatible with Windows 10, which I am relying on to collect metrics in the satellite.

red-erik commented 4 years ago

Hello, the 4.0 of NPM systeminformation says: "supports Linux, macOS, partial Windows, FreeBSD, OpenBSD, NetBSD and SunOS support" Let's wait a full support release ;-)

Red.