alexa-sdk пакет, который используется в упомянутом репозитории GitHub, устарел, и вы не должны его использовать.
Вы должны использовать alexa-sdk-core .
Если вы хотите воспроизвести аудио, вы можете создать обработчик намерений, как показано ниже в редакторе кода вашего Alexa Skill,
const PlayAudioIntent = {
canHandle(handlerInput) {
return handlerInput.requestEnvelope.request.type === 'IntentRequest'
&& handlerInput.requestEnvelope.request.intent.name === 'PlayAudioIntent';
},
handle(handlerInput) {
const audioFile = '<audio src="https://s3.amazonaws.com/cdn.dabblelab.com/audio/one-small-step-for-man.mp3" />';
const speechText = `Hello ${audioFile}`;
return handlerInput.responseBuilder
.speak(speechText)
//.reprompt('add a reprompt if you want to keep the session open for the user to respond')
.getResponse();
}
};