javascriptvue.jsnpmnuxt.jsfsevents

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. 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. Nothing works. What the hell is this? Even if I do what npm suggests, nothing works. Anyone knows what this is about?

more errors more errors


Solution

  • Turns out that I accidentally accepted the IDE suggestion for a code fix and I did not notice that. The IDE imported a random library that broke everything.

    So apart from removing that the solution is to commit often and using git bisect to find the problem.