firebase.auth().createUserWithEmailAndPassword Undefined is not a function

前端 未结 5 919
别那么骄傲
别那么骄傲 2020-12-03 15:36

I am following the firebase documentation on user management

var firebase = require(\'firebase\');

// Initialize Firebase
firebase.initializeApp({
    servi         


        
5条回答
  •  醉梦人生
    2020-12-03 16:13

    Update
    Sometime at or before firebase 3.4.1 for Node.js, createUserWithEmailAndPassword became available.

    Original
    As of firebase 3.1.0 for Node.js, createUserWithEmailAndPassword is not yet supported. According to a response on the firebase Google group, not all platforms have feature parity in the 3.x libraries yet. The REST interface does support user creation but is clearly a different approach than using the Node.js library.

    Go to https://groups.google.com/forum/#!forum/firebase-talk and search for createUserWithEmailAndPassword for the latest on that discussion.

提交回复
热议问题