theintern / intern-tutorial

Learn how to use Intern by following this tutorial!
http://theintern.io
144 stars 44 forks source link

SyntaxError when running Step 5 of tutorial: Unexpected token in istanbul/lib/hook.js #13

Closed d48 closed 9 years ago

d48 commented 9 years ago

When running $ intern-runner config=tests/intern I got this error. Anyone receive the same message and know what to fix?

Listening on 0.0.0.0:9000
Starting tunnel...
Using no proxy for connecting to Sauce Labs REST API.
Started scproxy on port 57603.
Starting secure remote tunnel VM...
Secure remote tunnel VM provisioned.
Tunnel ID: 4f6deb05a2614d75acd7fdac6b2d9814
Secure remote tunnel VM is now: booting
Secure remote tunnel VM is now: running
Remote tunnel host is: maki76037.miso.saucelabs.com
Using no proxy for connecting to tunnel VM.
Starting Selenium listener...
Establishing secure TLS connection to tunnel...
Selenium listener started on port 4444.
Connection established.
Ready
SyntaxError: Unexpected token .
  at Function.vm.runInThisContext  <node_modules/intern/node_modules/istanbul/lib/hook.js:163:16>
  at <node_modules/intern/node_modules/dojo/dojo.js:760:8>
  at <fs.js:266:14>
  at Object.oncomplete  <fs.js:107:15>
d48 commented 9 years ago

I had some sort of syntax error in my actual functional test code. Closing this