chargemaster's People
chargemaster's Issues
UnhandledPromiseRejectionWarning
Hey mate,
Great project you have here. Thanks for all of your hard work.
I have got it working but I keep getting the Warning:
(node:8970) 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: 4)
(node:8970) UnhandledPromiseRejectionWarning: Error: Cannot write to HID device
at /usr/local/lib/node_modules/chargemaster/src/ChargeMaster.js:76:19
at new Promise ()
at ChargeMaster.sendData (/usr/local/lib/node_modules/chargemaster/src/ChargeMaster.js:74:12)
at ChargeMaster.updateStatus (/usr/local/lib/node_modules/chargemaster/src/ChargeMaster.js:101:17)
Any ideas. Do I have the wrong pre-requisites installed?
Cheers,
Brett
what are the dependencies ?
What version of nodejs is required ? Any other dependencies ?
I did test on Linux Mint 18.1, but only got errors.
Nodejs 4.2.6: syntax error - function exit(code=0, message) {
Nodejs 6.10.0: Module version mismatch. Expected 48, got 46 - return process.dlopen(module, path._makeLong(filename));
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.