admin管理员组

文章数量:1421343

We've had an issue in production where page requests were returning stale data. Upon inspecting the logs, we noticed this error getting logged when loading the page:

Failed to update prerender cache for /PAGE TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined

We believe this error was causing our problem, however I would like to be able to reproduce this scenario locally. Does anyone know how I can trigger this error? The page in question has no server side or static props.

Many thanks in advance!

本文标签: reactjsNextjs how to trigger quotFailed to update prerender cachequotStack Overflow