에러,오류 해결

에러,오류 해결

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

에러 Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports. 해결방법 : import 부분을 확인한다. { } 괄호로 import되었는지 확인해 본다. 잘못됬던 부분 : import {NewsLayout} from '~/components/layout/NewsLayout'; 해결한 방법 impo..

Mori_FEDev
'에러,오류 해결' 카테고리의 글 목록