godaddy / godaddy/node-openstack-wrapper

Uncaught TypeError: process.hrtime is not a function

オープン
#35 コメント 0 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。