服务角度后,watchpack错误循环后

发布于 2025-02-03 08:52:18 字数 328 浏览 2 评论 0原文

我的Angular应用程序正常工作,我进口了一些我删除的Lib。 我开始得到这一行的循环: watchpack错误(Watcher):错误:未知:未知错误,观看

i删除Node_module并重新安装了它,我关闭VS代码,我重新启动了PC,没有任何可用。

有人知道为什么我会遇到这个错误吗?

My angular app was working just fine, I imported some lib that I deleted after.
I start getting a loop of this line:
Watchpack Error (watcher): Error: UNKNOWN: unknown error, watch

I remove node_module and re installed it, I close the vs code, I restarted my pc , nothing works.

Does anyone has an idea on why I get this error?

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(3

季末如歌 2025-02-10 08:52:18

我遇到了同样的问题,我的问题是该项目正在网络驱动器上运行,该网络驱动器在某种程度上干扰了watchpack。
如果您在网络驱动器上拥有该项目,请尝试将项目移至本地磁盘,并检查问题是否持续。

I have had the same problem and my problem was that the project was running on a Network drive which in some way interfered with watchpack.
Try moving your project to local disk if you have it on network drive and check if the issue persists.

三生池水覆流年 2025-02-10 08:52:18

请尝试清洁缓存

rm -rf node_modules/
npm cache clean
npm install

please try to clean cache

rm -rf node_modules/
npm cache clean
npm install
小草泠泠 2025-02-10 08:52:18

也许您想关闭一些未使用的应用程序,文件观察者正在查看它们,并减少一些负载。

在我的情况下,关闭其他项目给了我一些呼吸空间,问题已解决。

Maybe you wanna close some applications that are not being used they are being looked at by the file watchers and reduce some load to it.

In my case closing the other projects gave me some breathing room and the issue was fixed.

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