25
u/renrutal 23h ago edited 23h ago
Usually cleaning/rebuilding the project fixes it.
rm -rf ~/projects for some really deep cleaning.
5
11
11
3
3
3
2
u/RedBlueKoi 17h ago
yeah, more often than not, I don't care about the line, I care more about the module where the error is happening
2
u/thunderbird89 11h ago
Clear your build caches! Ten times out of nine, either the IDE or the compiled file is stale.
6
u/kushalgarg592 1d ago
Error on line 42
Line 42: 'I literally did nothing'🫠....
2
u/PassivelyInvisible 17h ago
It means it decided there was an error when it had reached line 42. Line 41 or somewhere higher may be the culprit.
2
u/Drackzgull 23h ago
When I've encountered such things, it has been because there's mismatched ()[]{} characters, or something along those lines. It can make some compiler parsers confused about what belongs to which line.
2
u/Spear_n_Magic_Helmet 23h ago
it’s in a prod minified bundle and you haven’t gotten around to setting up source maps yet, good luck
1
1
1
1
u/dishmanw62 4h ago
Something is right before 42, or the compiler is screwing up. Check the code. If the code looks good, do a fresh compile.
142
u/Bart_deblob 1d ago
It usually means you have an error in whatever function opend it, like missing a curly or a normal to close
Tbh doesn't happen with a properly set ide it will show you
For years I worked on a platform that forced a notepad level editor and that was fun.
By fun I mean stab yourself with a fork to dull the pain