각종 설치Issue & Solution & Enlightenment

expected a string (for built-in components) or a class/function (for composite components) but got: object. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

NandaNanda 2024. 4. 8. 23:11

 

리엑트 사용중 위와 같은 에러 메시지가 떳다. 원인중 하나 일수 있는게 import한 문서에서 어떠한 라이브러리가 필요한데 그 라이브러리가 없을때 이러한 에러가 떳다. 나같은 경우 그 라이브러리는 내가 만든 것이었다.