Invalid entry inside getStaticPath's return value
이 컨텐츠는 아직 번역되지 않았습니다.
InvalidGetStaticPathsEntry: Invalid entry returned by getStaticPaths. Expected an object, got
ENTRY_TYPE
What went wrong?
Section titled What went wrong?getStaticPaths
’s return value must be an array of objects. In most cases, this error happens because an array of array was returned. Using .flatMap()
or a .flat()
call may be useful.
See Also:
Error Reference