Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Adding apiary api key to dredd #682

Closed
resistdesign opened this issue Dec 14, 2016 · 5 comments
Closed

Adding apiary api key to dredd #682

resistdesign opened this issue Dec 14, 2016 · 5 comments

Comments

@resistdesign
Copy link

I get an error:

dredd/node_modules/debug/debug.js:126
  debug.color = selectColor(namespae);
@honzajavorek
Copy link
Contributor

@resistdesign Thank you for the report, but it's a bit minimalistic and I'm afraid we won't be able to find the problem like this. Could you please provide following information?

  • What is your OS? What is your terminal?
  • What command did you run and what exact output did it print?
  • What is in your dredd.yml?
  • What's your dredd --version output?

Thanks!

@resistdesign
Copy link
Author

@honzajavorek

The issue seems obvious: namespae has no c. But here is what I have:

  • What is your OS? macOS Sierra 10.12.1
  • What is your terminal? OS X Terminal/bash
  • What command did you run and what exact output did it print?
    • input: dredd init -r apiary -j apiaryApiKey:********** -j apiaryApiName:*********
      • * = redacted
    • I will not supply further output.
  • What is in your dredd.yml? I don't know what this is.
  • What's your dredd --version output? dredd v2.2.5 (Darwin 16.1.0; x64)

@resistdesign
Copy link
Author

I uninstalled and reinstalled dredd and now everything works fine. No idea what the issue was.

@honzajavorek
Copy link
Contributor

honzajavorek commented Dec 16, 2016

@resistdesign Thanks for the details, similarly to author of that line, I overlooked the missing c. It looks like a bug in the debug library, which seems to be a dependency of a Dredd's dependency. Since that dependency probably has benevolent range of accepted versions for debug, the problem also sneaked into Dredd. It seems they fixed it in debug-js/debug#356, two days ago and released new patch versions, so the same way the problem came, it also went away.

@resistdesign
Copy link
Author

@honzajavorek LOL, ain't that how it is! :P

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants