Windows local setup failing

Hello, I am new to CHT and had successfully set up and tested with the sample data. However, I encountered some issues and have been attempting to set up a blank project and ended up deleting the entire setup. When I tried to start fresh, I was unable to get the CHT app running. Upon further investigation, I realized that the setup guide I was following has been recently updated and the steps are not working for me. The guide I am referring to is available at https://docs.communityhealthtoolkit.org/.
Does anyone have an easy to follow guide of some sorts.

Hello @curturamu! Are you following this guide: Getting started building a CHT app | Community Health Toolkit ?

If so, can you let me know what steps are not working as expected for you? (That page should be the most up-to-date setup guide for starting development on a new CHT app…)

Hi @jkuester, Thank you for the quick response,
On trying to install pyxform i get this error:
C:\Users\PC>npm install git+https://github.com/medic/pyxform.git@medic-conf-1.17#egg=pyxform-medi
[…] \ idealTree: timing arborist:ctor Completed i[[[[[…[…] \ idealTree: timing arborist:ctor Completed in 1m[…] \ idealTree: timing arborist:ctor Completed in 1[…[…[…[…[…[…] \ idealTree: timing arborist:ctor Completed[…] \ idealTree: timing arborist:ctor Compl[…] \ idealTree: timing arborist:ctor Complet[…] \ idealTree: timing a[…] \ idealTree: timing[…] \ idealTree[…] \ idealTree: timing arb[…] \ idealT[…] \ idealTree: t[…[…] \ idealTree: timing[…] \ idealTree: timing arborist:c[…[…] \ idealTree:[…[…] | idealTree: timing ar[…npm ERR! code 128
npm ERR! A git connection error occurred
npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/medic/pyxform.git@medic-conf-1.17.git
npm ERR! ssh: connect to host github.com port 22: Connection timed out
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.

npm ERR! A complete log of this run can be found in: C:\Users\PC\AppData\Local\npm-cache_logs\2023-04-16T16_55_11_603Z-debug-0.log

C:\Users\PC>npm install git+https://github.com/medic/pyxform.git@medic-conf-1.17#egg=pyxform-medi
npm ERR! code 128
npm ERR! A git connection error occurred
npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/medic/pyxform.git@medic-conf-1.17.git
npm ERR! ssh: connect to host github.com port 22: Connection timed out
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.

npm ERR! A complete log of this run can be found in: C:\Users\PC\AppData\Local\npm-cache_logs\2023-04-16T17_01_27_614Z-debug-0.log

Figured it out, didn’t have pip installed for the WSL ubuntu.

Thanks

3 Likes

Thanks for the followup @curturamu! Glad that you got it working!

1 Like