为什么 NextJS 中的编译器停止工作?

发布于 2025-01-18 02:49:39 字数 636 浏览 2 评论 0原文

我创建了一个带有NextJ的应用程序,一切都很好,突然间它停止了浏览器中的编译。

我删除了节点模块并再次重新安装,但它不起作用。我更新了NextJs并更改了端口,没有良好的结果。

package.json

这是我的终端:

> 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.

package.json

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

走过海棠暮 2025-01-25 02:49:39

显然,错误是我的项目托管在我的 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文