ahmadawais / corona-cli

🦠 Track the Coronavirus disease (COVID-19) in the command line. Worldwide for all countries, for one country, and the US States. Fast response time (< 100ms). To chat: https://twitter.com/MrAhmadAwais/
https://NodeCLI.com
MIT License
1.85k stars 191 forks source link

📦 NEW: Added vaccines chart with -v as option. Also changed the api version to v3 #111

Open Gulianrdgd opened 3 years ago

ahmadawais commented 2 years ago

Thank you! 🙌

I get the following error.

node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module './utils/getVaccines'
Require stack:
- /Users/ahmadawais/Documents/Sandbox/corona-cli/index.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/Users/ahmadawais/Documents/Sandbox/corona-cli/index.js:23:21)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ '/Users/ahmadawais/Documents/Sandbox/corona-cli/index.js' ]

You forgot to add the getVaccines file.