cucumber/cucumber-js

View on GitHub
Update nodejs_example.md #84
1676758Charlie Rudolph authored 8 months ago7800ed30
complete00:00:30
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
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:4376
  throw err;
  ^

SyntaxError: Unexpected token (33:41)
    at Parser.pp$5.raise (/usr/src/app/node_modules/babylon/lib/index.js:4373:13)
    at Parser.pp.unexpected (/usr/src/app/node_modules/babylon/lib/index.js:1716:8)
    at Parser.pp$3.parseExprAtom (/usr/src/app/node_modules/babylon/lib/index.js:3683:12)
    at Parser.parseExprAtom (/usr/src/app/node_modules/babylon/lib/index.js:7016:22)
    at Parser.pp$3.parseExprSubscripts (/usr/src/app/node_modules/babylon/lib/index.js:3427:19)
    at Parser.pp$3.parseMaybeUnary (/usr/src/app/node_modules/babylon/lib/index.js:3407:19)
    at Parser.pp$3.parseExprOps (/usr/src/app/node_modules/babylon/lib/index.js:3337:19)
    at Parser.pp$3.parseMaybeConditional (/usr/src/app/node_modules/babylon/lib/index.js:3314:19)
    at Parser.pp$3.parseMaybeAssign (/usr/src/app/node_modules/babylon/lib/index.js:3277:19)
    at Parser.pp$3.parseObjectProperty (/usr/src/app/node_modules/babylon/lib/index.js:4035:99)

/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:26:in `block in run'
/usr/local/lib/ruby/2.3.0/timeout.rb:91:in `block in timeout'
/usr/local/lib/ruby/2.3.0/timeout.rb:33:in `block in catch'
/usr/local/lib/ruby/2.3.0/timeout.rb:33:in `catch'
/usr/local/lib/ruby/2.3.0/timeout.rb:33:in `catch'
/usr/local/lib/ruby/2.3.0/timeout.rb:106:in `timeout'
/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:18:in `run'
/usr/src/app/lib/cc/engine/analyzers/javascript/parser.rb:19:in `parse'
/usr/src/app/lib/cc/engine/analyzers/javascript/main.rb:31:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:28:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:42:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:24:in `block (2 levels) 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:4376
  throw err;
  ^

SyntaxError: Unexpected token (15:40)
    at Parser.pp$5.raise (/usr/src/app/node_modules/babylon/lib/index.js:4373:13)
    at Parser.pp.unexpected (/usr/src/app/node_modules/babylon/lib/index.js:1716:8)
    at Parser.pp$3.parseExprAtom (/usr/src/app/node_modules/babylon/lib/index.js:3683:12)
    at Parser.parseExprAtom (/usr/src/app/node_modules/babylon/lib/index.js:7016:22)
    at Parser.pp$3.parseExprSubscripts (/usr/src/app/node_modules/babylon/lib/index.js:3427:19)
    at Parser.pp$3.parseMaybeUnary (/usr/src/app/node_modules/babylon/lib/index.js:3407:19)
    at Parser.pp$3.parseExprOps (/usr/src/app/node_modules/babylon/lib/index.js:3337:19)
    at Parser.pp$3.parseMaybeConditional (/usr/src/app/node_modules/babylon/lib/index.js:3314:19)
    at Parser.pp$3.parseMaybeAssign (/usr/src/app/node_modules/babylon/lib/index.js:3277:19)
    at Parser.pp$3.parseExprListItem (/usr/src/app/node_modules/babylon/lib/index.js:4231:16)

/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:26:in `block in run'
/usr/local/lib/ruby/2.3.0/timeout.rb:91:in `block in timeout'
/usr/local/lib/ruby/2.3.0/timeout.rb:33:in `block in catch'
/usr/local/lib/ruby/2.3.0/timeout.rb:33:in `catch'
/usr/local/lib/ruby/2.3.0/timeout.rb:33:in `catch'
/usr/local/lib/ruby/2.3.0/timeout.rb:106:in `timeout'
/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:18:in `run'
/usr/src/app/lib/cc/engine/analyzers/javascript/parser.rb:19:in `parse'
/usr/src/app/lib/cc/engine/analyzers/javascript/main.rb:31:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:28:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:42:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:24:in `block (2 levels) 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:4376
  throw err;
  ^

SyntaxError: Unexpected token (19:14)
    at Parser.pp$5.raise (/usr/src/app/node_modules/babylon/lib/index.js:4373:13)
    at Parser.pp.unexpected (/usr/src/app/node_modules/babylon/lib/index.js:1716:8)
    at Parser.pp$3.parseExprAtom (/usr/src/app/node_modules/babylon/lib/index.js:3683:12)
    at Parser.parseExprAtom (/usr/src/app/node_modules/babylon/lib/index.js:7016:22)
    at Parser.pp$3.parseExprSubscripts (/usr/src/app/node_modules/babylon/lib/index.js:3427:19)
    at Parser.pp$3.parseMaybeUnary (/usr/src/app/node_modules/babylon/lib/index.js:3407:19)
    at Parser.pp$3.parseExprOps (/usr/src/app/node_modules/babylon/lib/index.js:3337:19)
    at Parser.pp$3.parseMaybeConditional (/usr/src/app/node_modules/babylon/lib/index.js:3314:19)
    at Parser.pp$3.parseMaybeAssign (/usr/src/app/node_modules/babylon/lib/index.js:3277:19)
    at Parser.pp$3.parseObjectProperty (/usr/src/app/node_modules/babylon/lib/index.js:4035:99)

/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:26:in `block in run'
/usr/local/lib/ruby/2.3.0/timeout.rb:91:in `block in timeout'
/usr/local/lib/ruby/2.3.0/timeout.rb:33:in `block in catch'
/usr/local/lib/ruby/2.3.0/timeout.rb:33:in `catch'
/usr/local/lib/ruby/2.3.0/timeout.rb:33:in `catch'
/usr/local/lib/ruby/2.3.0/timeout.rb:106:in `timeout'
/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:18:in `run'
/usr/src/app/lib/cc/engine/analyzers/javascript/parser.rb:19:in `parse'
/usr/src/app/lib/cc/engine/analyzers/javascript/main.rb:31:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:28:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:42:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:24:in `block (2 levels) 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:4376
  throw err;
  ^

SyntaxError: Unexpected token (20:40)
    at Parser.pp$5.raise (/usr/src/app/node_modules/babylon/lib/index.js:4373:13)
    at Parser.pp.unexpected (/usr/src/app/node_modules/babylon/lib/index.js:1716:8)
    at Parser.pp$3.parseExprAtom (/usr/src/app/node_modules/babylon/lib/index.js:3683:12)
    at Parser.parseExprAtom (/usr/src/app/node_modules/babylon/lib/index.js:7016:22)
    at Parser.pp$3.parseExprSubscripts (/usr/src/app/node_modules/babylon/lib/index.js:3427:19)
    at Parser.pp$3.parseMaybeUnary (/usr/src/app/node_modules/babylon/lib/index.js:3407:19)
    at Parser.pp$3.parseExprOps (/usr/src/app/node_modules/babylon/lib/index.js:3337:19)
    at Parser.pp$3.parseMaybeConditional (/usr/src/app/node_modules/babylon/lib/index.js:3314:19)
    at Parser.pp$3.parseMaybeAssign (/usr/src/app/node_modules/babylon/lib/index.js:3277:19)
    at Parser.pp$3.parseExprListItem (/usr/src/app/node_modules/babylon/lib/index.js:4231:16)

/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:26:in `block in run'
/usr/local/lib/ruby/2.3.0/timeout.rb:91:in `block in timeout'
/usr/local/lib/ruby/2.3.0/timeout.rb:33:in `block in catch'
/usr/local/lib/ruby/2.3.0/timeout.rb:33:in `catch'
/usr/local/lib/ruby/2.3.0/timeout.rb:33:in `catch'
/usr/local/lib/ruby/2.3.0/timeout.rb:106:in `timeout'
/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:18:in `run'
/usr/src/app/lib/cc/engine/analyzers/javascript/parser.rb:19:in `parse'
/usr/src/app/lib/cc/engine/analyzers/javascript/main.rb:31:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:28:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:42:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:24:in `block (2 levels) in run'
7
eslint
eslint engine documentation
View output
ESLint is running with the /usr/src/app/node_modules/babel-eslint/index.js parser.

Ignoring the following rules that rely on module resolution:

The babel/no-await-in-loop rule is deprecated. Please use the built in no-await-in-loop rule instead.
8
fixme
fixme engine documentation