question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`danger local` unknown option `--base`

See original GitHub issue

Hi,

For danger local --base develop --dangerfile dangerfile.js I am getting:

error: unknown option `--base'

Error:  TypeError: Cannot read property 'concat' of undefined
    at Object.exports.mergeResults (/Users/adam.moss/projects/project_name/node_modules/danger/distribution/commands/utils/reporting.js:15:33)
    at Object.<anonymous> (/Users/adam.moss/projects/project_name/node_modules/danger/distribution/commands/utils/runDangerSubprocess.js:97:51)
    at step (/Users/adam.moss/projects/project_name/node_modules/danger/distribution/commands/utils/runDangerSubprocess.js:32:23)
    at Object.next (/Users/adam.moss/projects/project_name/node_modules/danger/distribution/commands/utils/runDangerSubprocess.js:13:53)
    at /Users/adam.moss/projects/project_name/node_modules/danger/distribution/commands/utils/runDangerSubprocess.js:7:71
    at new Promise (<anonymous>)
    at __awaiter (/Users/adam.moss/projects/project_name/node_modules/danger/distribution/commands/utils/runDangerSubprocess.js:3:12)
    at ChildProcess.<anonymous> (/Users/adam.moss/projects/project_name/node_modules/danger/distribution/commands/utils/runDangerSubprocess.js:85:48)
    at ChildProcess.emit (events.js:160:13)
    at maybeClose (internal/child_process.js:943:16)

For branch structure:

master -> develop -> build/danger

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
ortacommented, Jan 23, 2018

Lolz, I’ll do it

0reactions
adam-mosscommented, Jan 23, 2018

Closed by #494

Read more comments on GitHub >

github_iconTop Results From Across the Web

BABEL: Unknown option: base.Children - Stack Overflow
I upgraded from npm 2 -> npm 3, and downgraded babel-core to 6.5.2, this made it work. Share.
Read more >
CHANGELOG - Danger.systems
Fix issue where the PR command could not be run with a GitHub Enterprise URL. Specify filename when loading Babel options. Fixes #664...
Read more >
Man page of iptables-extensions - IP sets - NetFilter.org
This module matches packets based on their address type. Address types are used within the ... You can use this option instead of...
Read more >
Mariabackup Options - MariaDB Knowledge Base
When working with particularly large tablespaces, closing the file can make the backup more manageable. However, it can also lead to inconsistent backups....
Read more >
Unknown option --job=sample during spark submit
Unknown option --job=sample during spark submit ... /usr/hdp/current/spark2-client/bin/spark-submit --master local --class org.apache.spark.examples.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found