when I use the react-bootstrap Card element in a next.js project, I get
“Unhandled Runtime Error Error:* Could not find the module “C:my-projectnode_modulesreact-bootstrapesmCard.js#default#Body” in the React Client Manifest. This is probably a bug in the React Server Components bundler.” I can fix the error by using “use client”.*
What is the reason I am getting this error in Card element? I want to understand the reason for this. I am waiting for your help. Thanks
code
I solved the problem by using “use client” to work on client side, but I wonder what I need to use it here?
Şule Demir is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.