godaddy / godaddy/node-openstack-wrapper

Uncaught TypeError: process.hrtime is not a function

Aperta
#35 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
34
Fork
33
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.