# Hello, I am trying to install cht-conf on windows but there is an error

**URL:** <https://forum.communityhealthtoolkit.org/t/hello-i-am-trying-to-install-cht-conf-on-windows-but-there-is-an-error/2248>\
**Category:** Development\
**Tags:** configuration\
**Created:** [October 20, 2022, 3:29am UTC](https://forum.communityhealthtoolkit.org/t/hello-i-am-trying-to-install-cht-conf-on-windows-but-there-is-an-error/2248 "2022-10-20T03:29:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stephen\_Mhuli](https://communityhealthtoolkit.b-cdn.net/letter_avatar_proxy/v4/letter/s/ec9cab/32.png) [@Stephen\_Mhuli](https://forum.communityhealthtoolkit.org/u/Stephen_Mhuli)\
**Post date:** [October 20, 2022, 3:29am UTC](https://forum.communityhealthtoolkit.org/t/hello-i-am-trying-to-install-cht-conf-on-windows-but-there-is-an-error/2248/1 "2022-10-20T03:29:42Z")

</div>

npm install -g cht-conf

```auto
npm ERR! Unexpected end of JSON input while parsing near '..."integrity":"sha512-e'

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\user\AppData\Roaming\npm-cache\_logs\2022-10-20T03_22_57_953Z-debug.log

```

---

<div class="post-metadata">

**Author:** ![mrjones](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/mrjones/32/681_2.png) [@mrjones](https://forum.communityhealthtoolkit.org/u/mrjones)\
**Post date:** [October 20, 2022, 3:49am UTC](https://forum.communityhealthtoolkit.org/t/hello-i-am-trying-to-install-cht-conf-on-windows-but-there-is-an-error/2248/2 "2022-10-20T03:49:35Z")

</div>

@Stephen_Mhuli - welcome to the forum! I see this is your first post - thanks for letting us know about your issue - we’d love to help.

In case it’s helpful, there’s a good thread about [running the CHT in windows for app development over here](https://forum.communityhealthtoolkit.org/t/running-dev-environment-on-windows-wsl/1970). You might check that out in case it’s helpful.

Next up, can you respond with some info about your environment:

- How are you running `npm` - in WSL1 OR WSL2 or some other method?
- What version of `npm` do you have? You can check with `npm -v`. When I’m on Node 12, I have `npm` version `6.14.16`, when I’m on Node 16, I’m on version `8.15.0`.
- Are you able to install other packages with `npm`?

Thanks!

---

<div class="post-metadata">

**Author:** ![Stephen\_Mhuli](https://communityhealthtoolkit.b-cdn.net/letter_avatar_proxy/v4/letter/s/ec9cab/32.png) [@Stephen\_Mhuli](https://forum.communityhealthtoolkit.org/u/Stephen_Mhuli)\
**Post date:** [October 20, 2022, 4:14am UTC](https://forum.communityhealthtoolkit.org/t/hello-i-am-trying-to-install-cht-conf-on-windows-but-there-is-an-error/2248/3 "2022-10-20T04:14:29Z")

</div>

Thank you @mrjones I have solved the issue, I was using node 12 and I decided to use node 16, the questions you asked helped me solve the problem.

---

<div class="post-metadata">

**Author:** ![mrjones](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/mrjones/32/681_2.png) [@mrjones](https://forum.communityhealthtoolkit.org/u/mrjones)\
**Post date:** [October 20, 2022, 5:25am UTC](https://forum.communityhealthtoolkit.org/t/hello-i-am-trying-to-install-cht-conf-on-windows-but-there-is-an-error/2248/4 "2022-10-20T05:25:48Z")

</div>

@Stephen_Mhuli - wonderful - glad you were able to solve it!
