Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throws when missing CLI #6

Closed
bcomnes opened this issue Sep 25, 2017 · 1 comment
Closed

Throws when missing CLI #6

bcomnes opened this issue Sep 25, 2017 · 1 comment

Comments

@bcomnes
Copy link

bcomnes commented Sep 25, 2017

bret-netlify:~ bret$ bestbuy-cli categories
/usr/local/lib/node_modules/bestbuy-cli/node_modules/bestbuy/index.js:14
  if (!options.key) throw new Error('A Best Buy developer API key is required');
                    ^

Error: A Best Buy developer API key is required
    at bestbuy (/usr/local/lib/node_modules/bestbuy-cli/node_modules/bestbuy/index.js:14:27)
    at run (/usr/local/lib/node_modules/bestbuy-cli/index.js:13:13)
    at cli (/usr/local/lib/node_modules/bestbuy-cli/bin.js:104:3)
    at Object.<anonymous> (/usr/local/lib/node_modules/bestbuy-cli/bin.js:108:3)
    at Module._compile (module.js:624:30)
    at Object.Module._extensions..js (module.js:635:10)
    at Module.load (module.js:545:32)
    at tryModuleLoad (module.js:508:12)
    at Function.Module._load (module.js:500:3)
    at Function.Module.runMain (module.js:665:10)

Not sure if you want to stack trace or not here.

@Flet
Copy link
Contributor

Flet commented Sep 26, 2017

Ah nice, I'll clean this up!

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

No branches or pull requests

2 participants