Closed Gigaclank closed 5 years ago
Not sure, it appears, that the module is executed in a scope, where the require function is not defined. I don't really have an idea how this could happen (it is executed in node, right? In any node scope there is a required predefined...)
I am trying to use this on a raspberry pi so that i can 'with the push of a button' create a voucher - this is solely experimental at the minute. Is there any known reason to why this wouldn't work or cant work? i have attached a the snippet error i get when trying to run this.