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.

Accessing profile '/account' errors

See original GitHub issue

I am trying to access the profile menu in the example w/ material given. But I am not getting the right menu to access it. I get this on the home page in errors: Warning: Failed propType: Required prop message was not specified in Snackbar. Check the render method of Home. warning.js?:45:9 Warning: Failed propType: Required prop message was not specified in SnackbarBody. Check the render method of WithWidth.

Even when trying to access ‘/account’ directly I get full errors. connect.js:81 Uncaught TypeError: Cannot read property ‘firebase’ of undefined at FirebaseConnect.componentWillMount (connect.js:81) at ReactCompositeComponentWrapper.mountComponent (ReactCompositeComponent.js:210) at ReactCompositeComponentWrapper.wrapper [as mountComponent] (ReactPerf.js:66) at Object.mountComponent (ReactReconciler.js:37) at ReactDOMComponent.mountChildren (ReactMultiChild.js:241) at ReactDOMComponent._createContentMarkup (ReactDOMComponent.js:591) at ReactDOMComponent.mountComponent (ReactDOMComponent.js:479) at Object.mountComponent (ReactReconciler.js:37) at ReactCompositeComponentWrapper.mountComponent (ReactCompositeComponent.js:225) at ReactCompositeComponentWrapper.wrapper [as mountComponent] (ReactPerf.js:66)

I only changed the config values for firebase for the example. Is there something else I need to do on firebase or the src?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
DeividasKcommented, Feb 3, 2017

Your rules

"rules": {
  ".read": "auth != true",
  ".write": "auth != true"
}

mean that if user is authenticated, he cannot access the data. As Scott suggessted, try changing the rules.

0reactions
prescottpruecommented, Feb 14, 2017

The v1.3.0-alpha release includes major changes to the material example. It is also now available at demo.react-redux-firebase.com.

Since it is a major overhaul, I am going to close this issue. Feel free to post a new issue if you find anything not working as expected.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows error message: "We can't sign in to your account"
If you still can't sign in, try creating a new local administrator account, sign in to that new account, then follow the steps...
Read more >
User Profile Service Failed the Logon (Causes & Solutions)
6 Ways to Fix User Profile Service Failed the Logon Error · Method 1. Repair User Profile Using Command Prompt · Method 2....
Read more >
Methods to fix profile error occurred on Google Chrome
There are a few reasons why the error 'Profile Error Occurred' exists in the Chrome browser. Generally, this can happen when the infected...
Read more >
How to Fix User Profile Cannot be Loaded in Windows 10?
If the error The User Profile Service failed the sign-in appears when you first log in to the computer under a new account,...
Read more >
How to Fix "User Profile Service Failed the Sign-in" Error for ...
Content · 1. Restart or Shut Down Windows 11/10 from Its Lockscreen · 2. Delete a Local User Account in Windows 10/11 ·...
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