Open oangelo opened 5 years ago
Will try and take a look at this towards the end of the week (am busy with an upgrade for the first part of the week)
Just had a look at this and think I remember coming across it before. The issue is with setting the config value rather than with Wii-Scale itself per se.
npm config set wii-scale:calibrate -5
actually has the end result of setting wii-scale:calibrate
to a blank value in ~/.npmrc
which is what is causing this error.
To actually set wii-scale:calibrate
to -5
, you can use the following command: npm config set wii-scale:calibrate -- -5
$ npm config set wii-scale:calibrate -5 $npm start
> wii-scale@0.0.4 start /home/oangelo/sandbox/Wii-Scale > node scripts/start.js
Listening on localhost:8080 terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector >'
what(): the required argument for option '--calibrate' is missing