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 摘要。