Got a error while import SWR #1867
-
I tried to use SWR in my next.js app ,but it's not work. npm run dev console appeared : My browser appeared: _Server Error This error happened while generating the page. Any console logs will be displayed in the terminal window. I have no idea to debug, My package.json: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I suspect it has something to do with the newer update of SWR. I just had and solved this problem temporarily;
I can't speak for what exactly the problem is on the 1.2.2 version or how to fix it, though. |
Beta Was this translation helpful? Give feedback.
I suspect it has something to do with the newer update of SWR.
I just had and solved this problem temporarily;
I can't speak for what exactly the problem is on the 1.2.2 version or how to fix it, though.
Hope this helps.