Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Error while doing # #3

Open
vasa-develop opened this issue Oct 27, 2019 · 0 comments
Open

Error while doing # #3

vasa-develop opened this issue Oct 27, 2019 · 0 comments

Comments

@vasa-develop
Copy link

version

0.0.5

Expected Behaviour

I ran the below code:

var Keybase = require('node-keybase')
let keybase = new Keybase('lollerblades', 'keep it secret keep it safe')

keybase.#({
  name: "Lol",
  username: "lollerblades",
  email: "lollerblades@lollerblades.com",
  passphrase: "keep it secret keep it safe",
  invitation_id: "342128cecb14dbe6af0fab0d"
}, function(err, result) {})

Actual Behaviour

The following error was thrown:

buffer.js:207
    throw new ERR_INVALID_ARG_TYPE(
    ^

TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type undefined
    at Function.from (buffer.js:207:11)
    at new Buffer (buffer.js:182:17)
    at Object.gen_pwh (/home/vasa/Desktop/test/test/node_modules/node-keybase/util/index.js:60:16)
    at /home/vasa/Desktop/test/test/node_modules/node-keybase/index.js:69:16
    at /home/vasa/Desktop/test/test/node_modules/node-keybase/index.js:84:11
    at Deferrals.exports.Deferrals.Deferrals._call (/home/vasa/Desktop/test/test/node_modules/iced-runtime/lib/runtime.js:86:16)
    at /home/vasa/Desktop/test/test/node_modules/iced-runtime/lib/runtime.js:98:26
    at trampoline (/home/vasa/Desktop/test/test/node_modules/iced-runtime/lib/runtime.js:64:14)
    at Deferrals.exports.Deferrals.Deferrals._fulfill (/home/vasa/Desktop/test/test/node_modules/iced-runtime/lib/runtime.js:96:16)
    at ret (/home/vasa/Desktop/test/test/node_modules/iced-runtime/lib/runtime.js:29:18)

@taterbase Any idea what's going on here?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant