question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Receiving console error when using ngx-auth-firebaseui-avatar if user has no photoURL

See original GitHub issue

Bug Report or Feature Request (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request

OS and Version?

Windows 10

Versions

Package Version

@angular-devkit/architect 0.802.1 @angular-devkit/build-angular 0.802.1 @angular-devkit/build-optimizer 0.802.1 @angular-devkit/build-webpack 0.802.1 @angular-devkit/core 8.2.1 @angular-devkit/schematics 8.2.1 @angular/cdk 8.1.2 @angular/cli 8.2.1 @angular/fire 5.2.1 @angular/flex-layout 8.0.0-beta.26 @angular/material 8.1.2 @ngtools/webpack 8.2.1 @schematics/angular 8.2.1 @schematics/update 0.802.1 rxjs 6.4.0 typescript 3.5.3 webpack 4.38.0

Repro steps

  1. start a new cli project
  2. follow the instructions
  3. add <ngx-auth-firebaseui-avatar></ngx-auth-firebaseui-avatar> component
  4. Log in as user with no photoURL

The log given by the failure

GET http://localhost:4200/null 404 (Not Found) error in dev tools console

Desired functionality

No error message

Mention any other details that might be useful

style.background-image should not be set at all if photoURL is null. Otherwise requesting image with url(null) will cause error message

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
AnthonyNahascommented, Nov 16, 2019

which version are you using ? I think that this is already solved…

0reactions
rikwilbrinkcommented, Apr 18, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

29:52: Error: Property 'photoURL' cannot be accessed on ...
In your code NetworkImage(user.photoURL!), you are doing that by telling dart that it logically can never be null by using the bang operator...
Read more >
Google Auth - photoURL not updating
It appears as if any new account logging in with google that doesn't already have a profile picture assigned will never update. If...
Read more >
User Profile Pictures with React Authentication and Cloud ...
Upload user profile pictures to Firebase Cloud Storage. Link Authentication with Cloud Storage with Firebase Web v9 Modular.
Read more >
Google cloud storage signedUrl is not a valid photoURL #40
In firebase functions, when using storage hook, Google cloud storage has to be used to generate signed URL for any resource.
Read more >
Can't access to User Photo Url when Trigger
It appears to me that your trigger may be using the incorrect field. According to the Object Reference for User, there are 5...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found