Code Sample:
const OSwrapper = require('openstack-wrapper');
var keystone = new OSwrapper.Keystone("https://10.10.10.3:13000/v2.0");
keystone.getToken('username', 'password', function(err, token){
if(err) {
console.log('Error: ', err)
}
else {
console.log('Success: ', token)
}
}())
Error:
Uncaught TypeError: process.hrtime is not a function
Looks like one of the modules Keystone is using is the cause of the issue. Has anyone had trouble with this
Enviornment
Node - v10.6.0 | v12.4.0 Had the error with 10.6 tried upgrade to 12.4 to see if that was a fix
ReactJS