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

NewsAPI has broken the script #11

Open
ghost opened this issue Jul 6, 2020 · 0 comments
Open

NewsAPI has broken the script #11

ghost opened this issue Jul 6, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 6, 2020

When trying to run the script, it throws this error:

Error: No API key specified
    at new NewsAPI (/Users/___/GitClone/Corona-Vision/webserver/node_modules/newsapi/dist/index.js:91:24)
    at Object.<anonymous> (/Users/___/GitClone/Corona-Vision/webserver/news.js:4:15)
    at Module._compile (internal/modules/cjs/loader.js:1201:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1221:10)
    at Module.load (internal/modules/cjs/loader.js:1050:32)
    at Function.Module._load (internal/modules/cjs/loader.js:938:14)
    at Module.require (internal/modules/cjs/loader.js:1090:19)
    at require (internal/modules/cjs/helpers.js:75:18)
    at Object.<anonymous> (/Users/___/GitClone/Corona-Vision/webserver/webapp.js:85:14)
    at Module._compile (internal/modules/cjs/loader.js:1201:30)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! corona-vision@1.0.0 start: `node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the corona-vision@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Let me know if you need any further info.

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

0 participants