cucumber/cucumber-js

View on GitHub
update stack trace filter #58
1676758Charles Rudolph authored 12 months ago1d3faa16
errored00:00:26
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
docker pull codeclimate-csslint:b76
b76: Pulling from codeclimate/codeclimate-csslint
Digest: sha256:526122bfa61c8633623d4969b8f0851d54542ad2e76dacde0e87ca6aa82e1cfe
Status: Image is up to date for registry.prod.codeclimate.net/codeclimate/codeclimate-csslint:b76
docker pull codeclimate-duplication:b611
b611: Pulling from codeclimate/codeclimate-duplication
Digest: sha256:9003849a6519e695e9d32fdef38621a61db045b1764de6ef1955943b3fc7e221
Status: Image is up to date for registry.prod.codeclimate.net/codeclimate/codeclimate-duplication:b611
docker pull codeclimate-eslint:b264
b264: Pulling from codeclimate/codeclimate-eslint
Digest: sha256:ca5b813a404436f3951f9141a0ed4771e3d0008029a1543d8e1524dce7b75963
Status: Image is up to date for registry.prod.codeclimate.net/codeclimate/codeclimate-eslint:b264
docker pull codeclimate-fixme:b184
b184: Pulling from codeclimate/codeclimate-fixme
Digest: sha256:4045d5642017e379aafe22b0be0f4f5942be6136799a3892338d593c2c7d93ed
Status: Image is up to date for registry.prod.codeclimate.net/codeclimate/codeclimate-fixme:b184
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/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'
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/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'
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)