The workspace contains no input/output nodes!
You need an input or an output to export the data!
Without such a input/output function the exported code will not run properly!