Open Veiam opened 6 years ago
Yeah, I commented that out and have tried something like.
const Alexa = require('alexa-sdk'); const alexa = require('alexa-sdk'); const ical = require('ical'); const http = require('http'); const utils = require('util');
const states = { SEARCHMODE: '_SEARCHMODE', DESCRIPTION: '_DESKMODE', }; // local variable holding reference to the Alexa SDK object //const alexa;
I got past the last that error and am now stuck on a "missing index"
R
Actually, there was an update to index.js that changed the variable declarations from var to const and let.
I changed them back to var. Search and replace const to var, and let to var.
Then var alexa; started to work with const alexa; didn't
R
Hello all,
In index.js
Line 11:
const alexa;
is running into parsing error due to an unexpected token.Not sure if this has any effects on the code.