Eric Tsai
Eric Tsai
Please provide the entire npm output.
The JavaScript SDK has not been tested for Windows and is originally intended for use on Linux. It **should** work in Windows but you will probably need to use MSBuild...
You can build the underlying C++ code with MSBuild: https://github.com/mbientlab/MetaWear-SDK-Cpp#visual-studio-2017
Update you gcc compiler to at least 4.4.7, preferably to 8.
According to the 2nd error log, you are failing to compile the [node-gyp](https://github.com/nodejs/node-gyp) module. You'll need to resolve the incompatibilities between that module and your dev environment.
Please list out the steps to reproduce this issue and post the code you are running.
We are already addressing your issue on our forums: https://mbientlab.com/community/discussion/2600/problem-at-reconnection
Install the package distributed on npmjs.
Increase the swap file size on the Pi
What sensors are you using in addition to reading the battery values?