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
Then go to any page with parameters that have default value. For me it was a boolean parsen "open" with default false. Then if you go to any page it will give "cannot parse null to string";
The text was updated successfully, but these errors were encountered:
I see the error comes from a Chrome Extension, any idea which one it might be?
franky47
changed the title
console debug mode will crash crash your app when using localStorage.setItem("debug", "nuqs")
[Chrome Extension] console debug mode will crash crash your app when using localStorage.setItem("debug", "nuqs")
Dec 13, 2024
I can confirm that fmkadmapgofadopljbjfkapdkoienihi is react-developer-tools, but even with a fresh Chrome install and this extension, I cannot reproduce the error.
If you go into node_modules/nuqs/dist/chunk-3RCMAOX7.js and remove the following lines, does it work? (remember to delete your .next folder to avoid using a cached bundled dependency):
function debug(message, ...args) {
if (!enabled) {
return;
}
- const msg = sprintf(message, ...args);- performance.mark(msg);
console.log(message, ...args);
}
Context
What framework are you using?
Which version of your framework are you using?
14.2.20
Description & reproduction
On localhost; go to console and do:
Then go to any page with parameters that have default value. For me it was a boolean parsen "open" with default false. Then if you go to any page it will give "cannot parse null to string";
The text was updated successfully, but these errors were encountered: