Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49087

Error when trying to using firebase

$
0
0

@Sujith008 wrote:

var ref = new Firebase("https://MY-APP.firebaseio.com/");
ref.auth().createUserWithEmailAndPassword(email, password).catch(function(error) {
// Handle Errors here.
var errorCode = error.code;
var errorMessage = error.message;
// ...
});

ionic.bundle.js:26794 Error: Firebase.auth failed: Was called with 0 arguments. Expects at least 1.

Is this piece of code correct?? Sorry for my bad english. Thanks in advance

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49087

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>