CreatingDrawing.js Failing from Command Line

Thanks for the report.

Line 27:
RDxfExporterFactory.registerFileExporter();is no longer necessary. Please delete that line and run the script the same way again.