为什么 NextJS 中的编译器停止工作?
我创建了一个带有NextJ的应用程序,一切都很好,突然间它停止了浏览器中的编译。
我删除了节点模块并再次重新安装,但它不起作用。我更新了NextJs并更改了端口,没有良好的结果。
这是我的终端:
> second-next-app@ dev C:\Users\Rafaelventura\Google Drive\Diseno\Web\Next_JS\second-next-app
> next dev
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
info - Loaded env from C:\Users\Rafaelventura\Google Drive\Diseno\Web\Next_JS\second-next-app\.env.local
正如您可以看到
event - compiling successfully ...
我无能为力。再次编译?
I have created an app with NextJS and everything was working fine and suddenly it stopped compiling in the browser.
I deleted the node module and reinstalled again and it didn't work. I updated NextJS and changed ports without good results.
Here is my terminal:
> second-next-app@ dev C:\Users\Rafaelventura\Google Drive\Diseno\Web\Next_JS\second-next-app
> next dev
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
info - Loaded env from C:\Users\Rafaelventura\Google Drive\Diseno\Web\Next_JS\second-next-app\.env.local
As you can see there is no
event - compiling successfully ...
What can I do to make it compile again?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
显然,错误是我的项目托管在我的 Google Drive 文件夹(在云中)中。我将项目放在电脑上的本地文件中(不在云端),一切似乎都工作正常。
Apparently the error was that my project was hosted in my Google Drive folder (in the cloud). I put my project in a local file on my PC (Not in the cloud) and everything seems to work fine.