Open krekorian opened 4 years ago
When I run the script listed on the read me, I get the following error
also import command does not work either, I had to use require
I'm also having problems getting this running - is this for internal use only or can you provide an example of how to use this? We are in dire need of tooling to automate the whole registration in production.
When I run the script listed on the read me, I get the following error
const devices = await usb.getDevices(); ^^^^^ SyntaxError: await is only valid in async function
also import command does not work either, I had to use require