Apollon77 / alexa-remote

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SyntaxError: Unexpected token ';'

alandtse opened this issue · comments

Describe the bug
A clear and concise description of what the bug is.
Syntax error at alexa-remote.js:2006 running running example
To Reproduce
Steps to reproduce the behavior:

  1. Run example
  2. See error

Expected behavior
A clear and concise description of what you expected to happen.
No syntax error

Screenshots & Logfiles
If applicable, add screenshots and logfiles to help explain your problem.

➜  alexa-remote git:(master) ✗ node example/example.js
/Users/alandtse/alexa-remote/alexa-remote.js:2006
                'startNode': this.createSequenceNode(command, value, dev, overrideCustomerId);
                                                                                             ^

SyntaxError: Unexpected token ';'
    at Object.compileFunction (node:vm:352:18)
    at wrapSafe (node:internal/modules/cjs/loader:1025:15)
    at Module._compile (node:internal/modules/cjs/loader:1059:27)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1147:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:999:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/Users/alandtse/alexa-remote/example/example.js:1:13)
    at Module._compile (node:internal/modules/cjs/loader:1095:14)

Versions:

  • Adapter version:
  • JS-Controller version:
  • Node version: v17.0.1
  • Operating system: Darwin 0.6.0 Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:20 PDT 2021; root:xnu-7195.141.6~3/RELEASE_ARM64_T8101 arm64

Additional context
Add any other context about the problem here.