cucumberjs-browser icon indicating copy to clipboard operation
cucumberjs-browser copied to clipboard

Unexpected token ILLEGAL

Open madfiles opened this issue 10 years ago • 2 comments

I'm getting the error:

SyntaxError: Unexpected token ILLEGAL

Whenever I start up the app. I have tried cleaning/uninstalling, etc no change.

madfiles avatar Nov 16 '14 20:11 madfiles

Just installed and had a play around, and I am also getting this same error.

Env: Windows 7 | Node v0.10.28 | cucumberjs-browser 0.1.2 | package installed local

Dir Structure:

features
    step_definitions
    support

Very simple feature / steps (dummy asserts) with no file or browser dependencies.

Working fine in vanilla CucumberJS:

C:\DEV\GMR\sandbox\ui-architecture>cucumber-js features/contextSharing.feature -
-require features/step_definitions/ --format summary
2 scenarios (2 passed)
6 steps (6 passed)

Error as per @pete2014 above:

C:\DEV\GMR\sandbox\ui-architecture>cucumberjs-browser
[cucumberjs-browser 0.1.2] Started...

stream.js:94
      throw er; // Unhandled stream error in pipe.
            ^
SyntaxError: Unexpected token ILLEGAL

And even getting version fails:

C:\DEV\GMR\sandbox\ui-architecture>cucumberjs-browser --version
[cucumberjs-browser 0.1.2] Started...

stream.js:94
      throw er; // Unhandled stream error in pipe.
            ^
SyntaxError: Unexpected token ILLEGAL

I assume that as per the ReadMe.md, all CLI parameters are optional ?

justinware avatar Dec 10 '14 04:12 justinware

Having the same issue on Mac OS X 10.10 with Node 0.12.

marnen avatar Jul 15 '15 20:07 marnen