$ errors.fyi/nextjs/invalid-page-config 128 namespaces · 4,025 codes
nextjs · nextjs/invalid-page-config
invalid-page-config

Invalid Page Config

A page file exports an invalid or unknown configuration option. In the Pages Router, only recognized exports such as getStaticProps, getServerSideProps, getStaticPaths, and config are permitted. In the App Router, valid segment config options include dynamic, revalidate, fetchCache, runtime, preferredRegion, and maxDuration. Check the export name for typos and consult the documentation for allowed values.

References

In this namespace

» community-maintained · contribute on GitHub npm i -g errors-fyi && errorfyi ENOENT