Next.JS 13 使用 appdir -> 页面不断刷新

问题描述 投票:0回答:1

我的 Next.JS 13 应用程序使用 appDir 功能,不断刷新,没有明显的原因。 该文档对我没有帮助。这就是我的输出告诉我要做的事情:

warn  - Fast Refresh had to perform a full reload. Read more: 
https://nextjs.org/docs/messages/fast-refresh-reload
reactjs next.js refresh
1个回答
0
投票

我自己通过重新安装node_modules修复了这个问题。不知道出了什么问题。我还删除了 .nextjs 文件夹。

© www.soinside.com 2019 - 2024. All rights reserved.