tlovett1 / alexa-skill-test

Test Alexa skills through a local Express server.
43 stars 9 forks source link

Could not run #14

Closed ghost closed 6 years ago

ghost commented 6 years ago

I am seeing error message:

/usr/local/lib/node_modules/alexa-skill-test/node_modules/webpack-dev-middleware/index.js:7
const { getFilenameFromUrl, noop, ready, setFs } = require('./lib/util');
      ^

SyntaxError: Unexpected token {
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:413:25)
    at Object.Module._extensions..js (module.js:452:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/usr/local/lib/node_modules/alexa-skill-test/server.js:7:25)
    at Module._compile (module.js:434:26)
    at Object.Module._extensions..js (module.js:452:10)
tlovett1 commented 6 years ago

Which version of node are you running?

tlovett1 commented 6 years ago

Need at least node 6.7.