cucumber/cucumber-js

View on GitHub
Release 2.0.0-rc.7 #66
Faf9d71bf1a7dbfaff07e5d8b1723ad7charlierudolph authored 10 months ago95c6366e
errored00:00:43
An engine encountered an error
E10 Error

We had trouble running the eslint engine.

The engine's output shown below may indicate the cause of the error.

If not, please contact us so we can investigate further.

1
git clone
2
codeclimate init --upgrade
3
codeclimate validate-config
4
builder pull-engines
View output
determining required images
5
csslint
csslint engine documentation
6
duplication
duplication engine documentation
View output
OpenJDK 64-Bit Server VM warning: Using the ParNew young collector with the Serial old collector is deprecated and will likely be removed in a future release
Skipping file ./src/cli/index.js due to exception (CC::Engine::Analyzers::ParserError): `node /usr/src/app/lib/cc/engine/analyzers/javascript/parser.js` exited with code 1:
/usr/src/app/node_modules/babylon/lib/index.js:4218
  throw err;
  ^

SyntaxError: Unexpected token (33:41)
    at Parser.pp$5.raise (/usr/src/app/node_modules/babylon/lib/index.js:4215:13)
    at Parser.pp.unexpected (/usr/src/app/node_modules/babylon/lib/index.js:1599:8)
    at Parser.pp$3.parseExprAtom (/usr/src/app/node_modules/babylon/lib/index.js:3560:12)
    at Parser.parseExprAtom (/usr/src/app/node_modules/babylon/lib/index.js:6307:22)
    at Parser.pp$3.parseExprSubscripts (/usr/src/app/node_modules/babylon/lib/index.js:3305:19)
    at Parser.pp$3.parseMaybeUnary (/usr/src/app/node_modules/babylon/lib/index.js:3285:19)
    at Parser.pp$3.parseExprOps (/usr/src/app/node_modules/babylon/lib/index.js:3215:19)
    at Parser.pp$3.parseMaybeConditional (/usr/src/app/node_modules/babylon/lib/index.js:3192:19)
    at Parser.pp$3.parseMaybeAssign (/usr/src/app/node_modules/babylon/lib/index.js:3155:19)
    at Parser.pp$3.parseObjPropValue (/usr/src/app/node_modules/babylon/lib/index.js:3870:99)

/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:24:in `block in run'
org/jruby/ext/timeout/Timeout.java:117:in `timeout'
/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:16:in `run'
/usr/src/app/lib/cc/engine/analyzers/javascript/parser.rb:17:in `parse'
/usr/src/app/lib/cc/engine/analyzers/javascript/main.rb:25:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:26:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:38:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:22:in `block in run'
Skipping file ./src/runtime/stack_trace_filter.js due to exception (CC::Engine::Analyzers::ParserError): `node /usr/src/app/lib/cc/engine/analyzers/javascript/parser.js` exited with code 1:
/usr/src/app/node_modules/babylon/lib/index.js:4218
  throw err;
  ^

SyntaxError: Unexpected token (15:40)
    at Parser.pp$5.raise (/usr/src/app/node_modules/babylon/lib/index.js:4215:13)
    at Parser.pp.unexpected (/usr/src/app/node_modules/babylon/lib/index.js:1599:8)
    at Parser.pp$3.parseExprAtom (/usr/src/app/node_modules/babylon/lib/index.js:3560:12)
    at Parser.parseExprAtom (/usr/src/app/node_modules/babylon/lib/index.js:6307:22)
    at Parser.pp$3.parseExprSubscripts (/usr/src/app/node_modules/babylon/lib/index.js:3305:19)
    at Parser.pp$3.parseMaybeUnary (/usr/src/app/node_modules/babylon/lib/index.js:3285:19)
    at Parser.pp$3.parseExprOps (/usr/src/app/node_modules/babylon/lib/index.js:3215:19)
    at Parser.pp$3.parseMaybeConditional (/usr/src/app/node_modules/babylon/lib/index.js:3192:19)
    at Parser.pp$3.parseMaybeAssign (/usr/src/app/node_modules/babylon/lib/index.js:3155:19)
    at Parser.pp$3.parseExprListItem (/usr/src/app/node_modules/babylon/lib/index.js:4080:16)

/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:24:in `block in run'
org/jruby/ext/timeout/Timeout.java:117:in `timeout'
/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:16:in `run'
/usr/src/app/lib/cc/engine/analyzers/javascript/parser.rb:17:in `parse'
/usr/src/app/lib/cc/engine/analyzers/javascript/main.rb:25:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:26:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:38:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:22:in `block in run'
Skipping file ./src/runtime/scenario_runner.js due to exception (CC::Engine::Analyzers::ParserError): `node /usr/src/app/lib/cc/engine/analyzers/javascript/parser.js` exited with code 1:
/usr/src/app/node_modules/babylon/lib/index.js:4218
  throw err;
  ^

SyntaxError: Unexpected token (19:14)
    at Parser.pp$5.raise (/usr/src/app/node_modules/babylon/lib/index.js:4215:13)
    at Parser.pp.unexpected (/usr/src/app/node_modules/babylon/lib/index.js:1599:8)
    at Parser.pp$3.parseExprAtom (/usr/src/app/node_modules/babylon/lib/index.js:3560:12)
    at Parser.parseExprAtom (/usr/src/app/node_modules/babylon/lib/index.js:6307:22)
    at Parser.pp$3.parseExprSubscripts (/usr/src/app/node_modules/babylon/lib/index.js:3305:19)
    at Parser.pp$3.parseMaybeUnary (/usr/src/app/node_modules/babylon/lib/index.js:3285:19)
    at Parser.pp$3.parseExprOps (/usr/src/app/node_modules/babylon/lib/index.js:3215:19)
    at Parser.pp$3.parseMaybeConditional (/usr/src/app/node_modules/babylon/lib/index.js:3192:19)
    at Parser.pp$3.parseMaybeAssign (/usr/src/app/node_modules/babylon/lib/index.js:3155:19)
    at Parser.pp$3.parseObjPropValue (/usr/src/app/node_modules/babylon/lib/index.js:3870:99)

/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:24:in `block in run'
org/jruby/ext/timeout/Timeout.java:117:in `timeout'
/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:16:in `run'
/usr/src/app/lib/cc/engine/analyzers/javascript/parser.rb:17:in `parse'
/usr/src/app/lib/cc/engine/analyzers/javascript/main.rb:25:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:26:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:38:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:22:in `block in run'
Skipping file ./src/runtime/features_runner.js due to exception (CC::Engine::Analyzers::ParserError): `node /usr/src/app/lib/cc/engine/analyzers/javascript/parser.js` exited with code 1:
/usr/src/app/node_modules/babylon/lib/index.js:4218
  throw err;
  ^

SyntaxError: Unexpected token (20:40)
    at Parser.pp$5.raise (/usr/src/app/node_modules/babylon/lib/index.js:4215:13)
    at Parser.pp.unexpected (/usr/src/app/node_modules/babylon/lib/index.js:1599:8)
    at Parser.pp$3.parseExprAtom (/usr/src/app/node_modules/babylon/lib/index.js:3560:12)
    at Parser.parseExprAtom (/usr/src/app/node_modules/babylon/lib/index.js:6307:22)
    at Parser.pp$3.parseExprSubscripts (/usr/src/app/node_modules/babylon/lib/index.js:3305:19)
    at Parser.pp$3.parseMaybeUnary (/usr/src/app/node_modules/babylon/lib/index.js:3285:19)
    at Parser.pp$3.parseExprOps (/usr/src/app/node_modules/babylon/lib/index.js:3215:19)
    at Parser.pp$3.parseMaybeConditional (/usr/src/app/node_modules/babylon/lib/index.js:3192:19)
    at Parser.pp$3.parseMaybeAssign (/usr/src/app/node_modules/babylon/lib/index.js:3155:19)
    at Parser.pp$3.parseExprListItem (/usr/src/app/node_modules/babylon/lib/index.js:4080:16)

/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:24:in `block in run'
org/jruby/ext/timeout/Timeout.java:117:in `timeout'
/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:16:in `run'
/usr/src/app/lib/cc/engine/analyzers/javascript/parser.rb:17:in `parse'
/usr/src/app/lib/cc/engine/analyzers/javascript/main.rb:25:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:26:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:38:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:22:in `block in run'
7
eslint
eslint engine documentation
View output
/usr/src/app/node_modules/eslint/lib/config/config-validator.js:102
        throw new Error(message.join(""));
        ^

Error: /code/.eslintrc.yml:
	Configuration for rule "array-bracket-spacing" is invalid:
	Value "error" is the wrong type.

    at validateRuleOptions (/usr/src/app/node_modules/eslint/lib/config/config-validator.js:102:15)
    at /usr/src/app/node_modules/eslint/lib/config/config-validator.js:148:13
    at Array.forEach (native)
    at Object.validate (/usr/src/app/node_modules/eslint/lib/config/config-validator.js:147:35)
    at Object.load (/usr/src/app/node_modules/eslint/lib/config/config-file.js:394:19)
    at loadConfig (/usr/src/app/node_modules/eslint/lib/config.js:74:33)
    at getLocalConfig (/usr/src/app/node_modules/eslint/lib/config.js:177:23)
    at Config.getConfig (/usr/src/app/node_modules/eslint/lib/config.js:272:22)
    at CLIEngine.getConfigForFile (/usr/src/app/node_modules/eslint/lib/cli-engine.js:715:29)
    at module.exports (/usr/src/app/lib/validate_config.js:9:22)