Thursday, 15 January 2015

firebase - Error creating user: { [Error: There are no login transports available for the requested method.] code: 'TRANSPORT_UNAVAILABLE' } -



firebase - Error creating user: { [Error: There are no login transports available for the requested method.] code: '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 code got error title shows.

i found step prepare this, don't can not finish it. because can not find provider settings mentioned in document. can help?

update jan 6, 2015:

firebase has released v2.1.0 of firebase web / node.js client library, includes back upwards user management methods in node.js. should able run included snippet without encountering transport_unavailable error.

firebase authentication via email / password web / browser only, , not supported in node.js.

firebase

No comments:

Post a Comment