Error creating user: {[Error: for the requested method, there is no transport to enter.]: "TRANSPORT_UNAVAILABLE"}

var Firebase = require("firebase");

var myFirebaseRef = new Firebase("https://amber-fire-6500.firebaseio.com/");

myFirebaseRef.createUser({
  email    : "guosong@outlook.com",
  password : "12345678"
}, function(error) {
  if (error === null) {
    console.log("User created successfully");
  } else {
    console.log("Error creating user:", error);
  }
});

this is my code, but I got an error as the name shows.

I found this step to fix it, but finally I can’t finish it. Because I can’t find the provider settings mentioned in their document. Can anyone help?

+2
source share
1 answer

January 6, 2015 update :

Firebase recently released the Firebase Web / Node.js client library v2.1.0, which includes support for user management methods in Node.js. Now you can run the included fragment without encountering an error TRANSPORT_UNAVAILABLE.


Firebase / - Node.js.

+7

All Articles