# When i install new npm module (for ex: npm install nano) the app is crashing with error cannot find module @medic/server-checks

**URL:** <https://forum.communityhealthtoolkit.org/t/when-i-install-new-npm-module-for-ex-npm-install-nano-the-app-is-crashing-with-error-cannot-find-module-medic-server-checks/2099>\
**Category:** Development\
**Created:** [August 16, 2022, 1:01pm UTC](https://forum.communityhealthtoolkit.org/t/when-i-install-new-npm-module-for-ex-npm-install-nano-the-app-is-crashing-with-error-cannot-find-module-medic-server-checks/2099 "2022-08-16T13:01:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Santhosh\_Kumar\_K](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/santhosh_kumar_k/32/1554_2.png) [@Santhosh\_Kumar\_K](https://forum.communityhealthtoolkit.org/u/Santhosh_Kumar_K)\
**Post date:** [August 16, 2022, 1:01pm UTC](https://forum.communityhealthtoolkit.org/t/when-i-install-new-npm-module-for-ex-npm-install-nano-the-app-is-crashing-with-error-cannot-find-module-medic-server-checks/2099/1 "2022-08-16T13:01:15Z")

</div>

![Screenshot from 2022-08-12 13-33-56](https://communityhealthtoolkit.b-cdn.net/uploads/default/original/2X/8/8510b1d5f887525ab49a5b3c998d2aa1835103eb.png)

---

<div class="post-metadata">

**Author:** ![diana](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/diana/32/2049_2.png) [@diana](https://forum.communityhealthtoolkit.org/u/diana)\
**Post date:** [August 16, 2022, 1:07pm UTC](https://forum.communityhealthtoolkit.org/t/when-i-install-new-npm-module-for-ex-npm-install-nano-the-app-is-crashing-with-error-cannot-find-module-medic-server-checks/2099/2 "2022-08-16T13:07:12Z")

</div>

Hi @Santhosh_Kumar_K

Welcome to the CHT Forum!

After installing new dependencies, please make sure that you run `grunt` (or `grunt dev-webapp`) first, which should resolve shared libraries symlinks correctly.

---

<div class="post-metadata">

**Author:** ![Santhosh\_Kumar\_K](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/santhosh_kumar_k/32/1554_2.png) [@Santhosh\_Kumar\_K](https://forum.communityhealthtoolkit.org/u/Santhosh_Kumar_K)\
**Post date:** [August 16, 2022, 1:14pm UTC](https://forum.communityhealthtoolkit.org/t/when-i-install-new-npm-module-for-ex-npm-install-nano-the-app-is-crashing-with-error-cannot-find-module-medic-server-checks/2099/3 "2022-08-16T13:14:12Z")

</div>

I have done the same.But the error is still there.

Update - The above solution is working fine .I have checked with other devices.Maybe my installation has some error. -Thank you

---

<div class="post-metadata">

**Author:** ![diana](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/diana/32/2049_2.png) [@diana](https://forum.communityhealthtoolkit.org/u/diana)\
**Post date:** [August 16, 2022, 2:59pm UTC](https://forum.communityhealthtoolkit.org/t/when-i-install-new-npm-module-for-ex-npm-install-nano-the-app-is-crashing-with-error-cannot-find-module-medic-server-checks/2099/4 "2022-08-16T14:59:04Z")

</div>

Could you please check the output of the `grunt` command?  
I’m particularly interested in the output of the installation task. You should be able to find it if you look for

```auto
Running "exec:npm-ci-modules" (exec) task

```
