godaddy / godaddy/node-openstack-wrapper

Uncaught TypeError: process.hrtime is not a function

未關閉
#35 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
34
分支
33
PR 合併指標
30 天內沒有已合併 PR

描述

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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。