The problem is that this example is deprecated.
In the botton of your index.js you will find this code:
exports.handler = (event, context) => { const alexa = Alexa.handler(event, context); alexa.APP_ID = APP_ID;
And alexa.APP_ID = APP_ID; wrong. They changed it to alexa.appId .
So, if you change your line to:
alexa.appId = APP_ID;
You will no longer receive this error message. Here is the documentation.
Jurik source share