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
./node_modules/@piotr-cz/swr-idb-cache/dist/index.mjs 106:46-54
Can't import the named export 'useState' from non EcmaScript module (only default export is available)
package.json
"@piotr-cz/swr-idb-cache": "^1.1.0"
Can someone look into this issue?
The text was updated successfully, but these errors were encountered:
Please provide package.json so I can reproduce the issue.
Problem might be that react doesn't export itself in module format, just in commonjs or that webpack doesn't process .mjs files properly.
In the meanwhile you can pin the package to latest 1.0.x:
Getting this error on console
Error
package.json
"@piotr-cz/swr-idb-cache": "^1.1.0"
Can someone look into this issue?
The text was updated successfully, but these errors were encountered: