GithubHelp home page GithubHelp logo

Comments (8)

 avatar commented on June 15, 2024 8

If for some reason you can not fix it at the source, to make sure your object does not contain any undefined props use this simple trick:
JSON.parse( JSON.stringify(ObjectToSave ) )

For more info take a look at this codePen: http://codepen.io/ajmueller/pen/gLaBLX

from quickstart-js.

FredvanRijswijk avatar FredvanRijswijk commented on June 15, 2024 1

@nicolasgarnier it was my account fred [at] attiq . nl did use an other account and it's was working well ;-)

from quickstart-js.

sa30coder avatar sa30coder commented on June 15, 2024 1

I am facing problem at a time of upload image on firebase database
ERROR Error: Uncaught (in promise): Error: Reference.set

from quickstart-js.

nicolasgarnier avatar nicolasgarnier commented on June 15, 2024

@FredvanRijswijk Sorry you're facing an issue!

Could you point to to the file where this happens (this repo is actually made of 16 samples :) and if possible, the line?

Thanks!

from quickstart-js.

FredvanRijswijk avatar FredvanRijswijk commented on June 15, 2024

@nicolasgarnier
schermafdruk 2016-09-19 16 00 10

The Database example

from quickstart-js.

nicolasgarnier avatar nicolasgarnier commented on June 15, 2024

I had a look and this happens because your the displayName of the account signed in Firebase is undefined which is in theory not supposed to happen using Google auth. Could you tell me which account you've used? (you can send me that privately if you don't want to disclose). Also did you do change anything in the sample? I see that the error refers to firebase-database.js, are you importing both firebase-auth.js and firebase-database.js ? If you have uploaded your app online could you provide me with the link so I try out the app myself? :)

from quickstart-js.

elktamer avatar elktamer commented on June 15, 2024

Why was this closed? I also get that error unless I login with an account other than the one I used to create the app.

from quickstart-js.

sa30coder avatar sa30coder commented on June 15, 2024

I am facing problem at a time of upload image on firebase database
ERROR Error: Uncaught (in promise): Error: Reference.set

and I don't get downloadURL form storage().ref()

from quickstart-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.