Closed mnmercer closed 7 years ago
Please include steps to reproduce
On May 18, 2017 16:09, "mnmercer" notifications@github.com wrote:
On opening the site, I get this error in the JavaScript console. [image: screen shot 2017-05-18 at 10 08 20 am] https://cloud.githubusercontent.com/assets/9361260/26206164/0a34694a-3bb2-11e7-8064-30d008046942.png
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MosaicGroups/mosaic-groups/issues/171, or mute the thread https://github.com/notifications/unsubscribe-auth/AHCOwL_OtEVXlsvXQ5aomFi4dIFBgbhfks5r7FEPgaJpZM4NfSZg .
@jeffklassen Steps to reproduce:
react-dev
branch in a Chrome browser.There's actually a different error being thrown when opening the application in Firefox.
Ah! I see. If you build with webpack-watch, do you get a better stacktrace?
On May 18, 2017 17:34, "mnmercer" notifications@github.com wrote:
@jeffklassen https://github.com/jeffklassen Steps to reproduce:
- Open https://mosaicgroups-dev.herokuapp.com/ or start up a running local instance on the react-dev branch.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/MosaicGroups/mosaic-groups/issues/171#issuecomment-302442224, or mute the thread https://github.com/notifications/unsubscribe-auth/AHCOwGQ1OcgHR9d2gC5_vTgUJxAPshO1ks5r7GUSgaJpZM4NfSZg .
Yeah. Now the Chrome error looks like this.
The Firefox error looks like this. I couldn't capture the entire stack trace, but I think this will be informative enough.
That's great! Looks like we just need to check if(identity.roles && identity.roles includes....
On May 18, 2017 17:49, "mnmercer" notifications@github.com wrote:
Yeah. Now the Chrome error looks like this. [image: screen shot 2017-05-18 at 11 47 18 am] https://cloud.githubusercontent.com/assets/9361260/26211149/cfb92590-3bbf-11e7-9fba-19cd169d54da.png The Firefox error looks like this. I couldn't capture the entire stack trace, but I think this will be informative enough. [image: screen shot 2017-05-18 at 11 48 46 am] https://cloud.githubusercontent.com/assets/9361260/26211206/040442ee-3bc0-11e7-983d-3943dd7100e0.png
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/MosaicGroups/mosaic-groups/issues/171#issuecomment-302446564, or mute the thread https://github.com/notifications/unsubscribe-auth/AHCOwNd4T1Ld_GlKNelu1OO8ipOju3Nxks5r7GiIgaJpZM4NfSZg .
@mnmercer Man - i can't reproduce the error:
Never mind, I just duplicated it. It looks like you have to be logged out to trigger it. Fixing now.
Done!
On opening the site, I get this error in the JavaScript console.