stevenliuyi / covid19

an interactive, animated COVID-19 coronavirus map to track the outbreak over time by country and by region for selected countries
MIT License
326 stars 97 forks source link

How install this code #5

Open Theblood opened 4 years ago

Theblood commented 4 years ago

Help Me?

stevenliuyi commented 4 years ago

You can use "yarn install" to install the project. Also note that you need to include the submodules when you clone the repo using "--recurse-submodules" or "--recursive".

nndnha commented 4 years ago

yarn install error:

[o] Wrote public/maps/gadm36_PRT_2.json
assert.js:339
    throw err;
    ^

AssertionError [ERR_ASSERTION]: undefined is not a valid count!
    at forEach (/tmp/covid19/scripts/missing_data_fix.js:40:13)
    at Array.forEach (<anonymous>)
    at fillMissingData (/tmp/covid19/scripts/missing_data_fix.js:20:54)
    at Object.keys.filter.forEach (/tmp/covid19/scripts/missing_data_fix.js:55:13)
    at Array.forEach (<anonymous>)
    at fillMissingData (/tmp/covid19/scripts/missing_data_fix.js:54:10)
    at Object.<anonymous> (/tmp/covid19/scripts/missing_data_fix.js:59:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)