firebase.auth.RecaptchaVerifier is not a constructor error

后端 未结 1 1586

Trying to add the Firebase script in my html, after initializing Firebase app with firebase.initializeApp(config);.

So then I have this :

 &         


        
相关标签:
1条回答
  • 2021-01-25 04:40

    Solved by changing version of the imported files with : (thanks a lot Frank)

          <script src="https://www.gstatic.com/firebasejs/5.7.0/firebase-app.js"></script>
          <script src="https://www.gstatic.com/firebasejs/5.9.0/firebase-firestore.js"></script>
          <script src="https://www.gstatic.com/firebasejs/5.7.0/firebase-storage.js"></script>
          <script src="https://www.gstatic.com/firebasejs/5.9.0/firebase-auth.js"></script>
          <script src="https://www.gstatic.com/firebasejs/5.9.0/firebase-database.js"></script>
          <script src="https://www.gstatic.com/firebasejs/5.9.0/firebase-messaging.js"></script>
          <script src="https://www.gstatic.com/firebasejs/5.9.0/firebase-functions.js"></script>
    
    0 讨论(0)
提交回复
热议问题