reactjs - Next.js: how to trigger "Failed to update prerender cache"? - Stack Overflow

We've had an issue in production where page requests were returning stale data. Upon inspecting th

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!

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745353416a4623975.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信