Skip to content

Uncaught TypeError: process.hrtime is not a function #35

@ghost

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions