It's really easy to accidentally feed your assignment2.mjs into putter, rather than CS261_Assignment_2.JSON (or whatever).
And if you do, the error message is something confusing about how that's not JSON, etc. So we should catch that error and print something more useful.
It's really easy to accidentally feed your
assignment2.mjsinto putter, rather than CS261_Assignment_2.JSON (or whatever).And if you do, the error message is something confusing about how that's not JSON, etc. So we should catch that error and print something more useful.