// try to import only core const Konva = require('../'); // just do a simple action const stage = new Konva.Stage(); stage.toDataURL();