covid19
covid19 copied to clipboard
yarn install error- some sub folders in data are missing
while doing yarn install I am getting this error. Its trying to open file ‘data/dxy-data/csv/DXYArea.csv’ and file 'data/jhu-data/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_confirmed_global.csv'
but its not there. any one has similar issue?
[o] Wrote public/maps/gadm36_CHN_1.json [merge-layers] Warning: Fields [GID_1, NAME_1, NL_NAME_1, GID_2, NAME_2, VARNAME_2, NL_NAME_2, TYPE_2, ENGTYPE_2, CC_2, HASC_2] are missing from one or more layers [o] Wrote public/maps/gadm36_CHN_2.json tac: failed to open ‘data/dxy-data/csv/DXYArea.csv’ for reading: No such file or directory fs.js:114 throw err; ^
Error: ENOENT: no such file or directory, open 'data/jhu-data/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_confirmed_global.csv'
at Object.openSync (fs.js:443:3)
at Object.readFileSync (fs.js:343:35)
at generateData (/home/[email protected]/Applications/p22/covid19/src/scripts/data_processing_world.js:113:19)
at Object.
at checkExecSyncError (child_process.js:629:11)
at execSync (child_process.js:666:13)
at Object.<anonymous> (/home/[email protected]/Applications/p22/covid19/node_modules/postinstall-postinstall/run.js:15:5)
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)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
Hi! Did you clone with --recursive? git clone --recursive https://github.com/stevenliuyi/covid19.git
i missed to do that. can i pull the submodules in my branch after?
I don't know, in fact, I think you might found that looking on google
i did that using git submodule update --init. isnt it supposed to pull maps as well?
I think this might help you" https://github.com/stevenliuyi/covid19/issues/23#issuecomment-610552735