Recently, I have seen a pattern of aspiring developers trying to debug without reading error messages. Yikes! Error messages, as huge, freaky and unruly as they might look, are actually your BEST FRIEND when debugging. Here is a guide to reading them!
In this demo repo, we will attempt to transpile JSX files in /src
to JS files in /public
. Provided is a script called compile
, and one devDependency: @babel/cli
.