How do I check the line and col in a preview.js error? I get this error when previewing..
http://localhost:50000/preview.js, line 4798 (col 60)
..and I'd like to look at line 4798, column 60, of preview.js, but where do I find it? I couldn't find it by searching preview.js in the project folder. I'm sure I'll figure out the problem myself if I know how to look at it.
Although it doesn't answer the question, I did just find out that in my particular case the problem was that it didn't like that I was using the same layout for multiple event sheets, via a system in which a global variable that decides the game mode decided which sheet would be included for use in that layout. I instead duplicated the layout so that I could just commit one layout to one sheet/mode, and now the error doesn't pop up.
Develop games in your browser. Powerful, performant & highly capable.