简体   繁体   English

NuxtJs 自发停止处理 fs 错误

[英]NuxtJs spontaneously stopped working with fs errors

So here I was working away on my NuxtJS SPA and after a page refresh, I started getting these errors.所以在这里我正在处理我的 NuxtJS SPA,在页面刷新后,我开始收到这些错误。 I have no clue where this comes from I did not change anything that could cause it.我不知道这是从哪里来的,我没有改变任何可能导致它的东西。 I tried everything including npm fixing and reinstalling the projects node_modules.我尝试了所有方法,包括 npm 修复和重新安装项目 node_modules。 Nothing works.没有任何效果。 What the hell is this?这到底是什么? Even if I do what npm suggests, nothing works.即使我按照 npm 的建议进行操作,也没有任何效果。 Anyone knows what this is about?有谁知道这是怎么回事?

更多错误 more errors更多错误

Turns out that I accidentally accepted the IDE suggestion for a code fix and I did not notice that.结果是我不小心接受了 IDE 的代码修复建议,但我没有注意到这一点。 The IDE imported a random library that broke everything. IDE 导入了一个破坏一切的随机库。

So apart from removing that the solution is to commit often and using git bisect to find the problem.因此,除了删除该解决方案之外,解决方案是经常提交并使用 git bisect 来查找问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM