Skip to content

Throws an error when I try covin #4

Description

@aaryandewan

I just installed it globally using npm install -g covin-cli but when I tried to run covin it states:

` covin-cli v2.0.3 by Arup Saha
Track the Coronavirus disease (COVID-19) in India.

/
× UNHANDLED ERROR
× ERROR → TypeError
i REASON → Cannot read property 'confirmed' of undefined
i ERROR STACK ↓
TypeError: Cannot read property 'confirmed' of undefined
at C:\Users\aaryan\AppData\Roaming\npm\node_modules\covin-cli\utils\getStates.js:45:27
at Array.map ()
at module.exports (C:\Users\aaryan\AppData\Roaming\npm\node_modules\covin-cli\utils\getStates.js:40:14)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async C:\Users\aaryan\AppData\Roaming\npm\node_modules\covin-cli\index.js:51:24
`

Is there some problem with the internals or am I using it the wrong way?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions