Using this code to add a chart to a slide produces the mentioned error.
slide.addChart({data: data, renderType: slide_definition.type});
slide.addText ( [
{ text: 'Hello ', options: { font_size: 56 } },
{ text: 'World!', options: { font_size: 56, font_face: 'Arial', color: 'ffff00' } }
], { cx: '75%', cy: 66, y: 150 } );
I do not understand where the "sample1.xlsx" is coming from...