In the offending call to transpile the res argument being passed is
and the js argument being passed is
The js argument doesn't have a :lang field.
I didn't put any deep thought into this patch: It blindly defaults to :es3 just as is done for the first argument to transpile. I don't know if this masks any issues, but it does appear to resolve things, allowing compilation to complete without incurring NPEs.