You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I’m running into a problem when using Stardust in safari private mode, because safari does not allow the debugger tool to write to the localStorage object, and will throw an exception. I found that in runtime, process.env.NODE_ENV is undefined, so the debugger will be added even in production, which means safari private mode will always crash.
Was wondering if you knew a way to get around it?
We use debug for this and this is a known issue with the way it is configured in the browser: debug-js/debug#167.
I'm adding this as a bug. We should wrap our localStorage use in a try/catch.
The text was updated successfully, but these errors were encountered:
Per the gitter issue from @eliasliedholm:
We use debug for this and this is a known issue with the way it is configured in the browser: debug-js/debug#167.
I'm adding this as a bug. We should wrap our localStorage use in a try/catch.
The text was updated successfully, but these errors were encountered: