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?
Asked
Active
Viewed 72 times
2
-
Probably you upgraded your nodejs. Run `node -v` to see the current version – Orkhan Alikhanov Jun 20 '22 at 18:42
-
Hmm I do have v17.3.0 I assume it needs to be 18? The thing is though I have no clue how it could just stop working when I did not update anything @_@ – Robert Jun 20 '22 at 18:46
-
@OrkhanAlikhanov I just tried to upgrade it further and did not fix that. Iwill try to downgrade it – Robert Jun 20 '22 at 19:05
-
@OrkhanAlikhanov v16, v17, and v18 all the same issue, I didn't change the version. I was just working and it broke for no reason. – Robert Jun 20 '22 at 19:12
-
did you try installing the packages mentioned in the error log ? – Jimmar Jun 21 '22 at 11:53
-
Yup as mentioned in the post, tried to follow all suggestions with no luck sadly. – Robert Jun 21 '22 at 11:54
1 Answers
0
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.

Robert
- 1,206
- 1
- 17
- 33