# Error while running the container after including new package to /frontend/package.json

**URL:** https://talk.openelis-global.org/t/error-while-running-the-container-after-including-new-package-to-frontend-package-json/1447
**Category:** Development
**Created:** [April 3, 2025, 9:07am UTC](https://talk.openelis-global.org/t/error-while-running-the-container-after-including-new-package-to-frontend-package-json/1447 "2025-04-03T09:07:45Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Govind](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/govind/32/614_2.png) [@Govind](https://talk.openelis-global.org/u/Govind)
#### Post date: [April 3, 2025, 9:07am UTC](https://talk.openelis-global.org/t/error-while-running-the-container-after-including-new-package-to-frontend-package-json/1447/1 "2025-04-03T09:07:45Z")

</div>

After installing the package through `npm install @transifex/react` and other packages in frontend folder,then re-running the docker containers…container logs are showing error (module not found).

 ![Screenshot 2025-04-03 142744](https://canada1.discourse-cdn.com/flex030/uploads/openelisci/original/1X/3bc1469b0573ea7a1a8360d908addba707ee7461.png)

Kindly help me to fix this. @aditya @Moses_Mutesasira  
Thank you.

---

<div class="post-metadata">

### Author: ![atulyadav745](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/atulyadav745/32/256_2.png) [@atulyadav745](https://talk.openelis-global.org/u/atulyadav745)
#### Post date: [April 3, 2025, 2:28pm UTC](https://talk.openelis-global.org/t/error-while-running-the-container-after-including-new-package-to-frontend-package-json/1447/2 "2025-04-03T14:28:59Z")

</div>

> [@Govind](#):
>
> @transifex/react

You should install the package by running this cmd  
`npm install @transifex/native @transifex/react --save`

---

<div class="post-metadata">

### Author: ![Govind](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/govind/32/614_2.png) [@Govind](https://talk.openelis-global.org/u/Govind)
#### Post date: [April 3, 2025, 2:34pm UTC](https://talk.openelis-global.org/t/error-while-running-the-container-after-including-new-package-to-frontend-package-json/1447/3 "2025-04-03T14:34:09Z")

</div>

@atulyadav745 I ran the same command to install packages

---

<div class="post-metadata">

### Author: ![atulyadav745](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/atulyadav745/32/256_2.png) [@atulyadav745](https://talk.openelis-global.org/u/atulyadav745)
#### Post date: [April 3, 2025, 2:36pm UTC](https://talk.openelis-global.org/t/error-while-running-the-container-after-including-new-package-to-frontend-package-json/1447/4 "2025-04-03T14:36:37Z")

</div>

please check your` package.json` file, if they are installed?

---

<div class="post-metadata">

### Author: ![aditya](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@aditya](https://talk.openelis-global.org/u/aditya)
#### Post date: [April 3, 2025, 4:17pm UTC](https://talk.openelis-global.org/t/error-while-running-the-container-after-including-new-package-to-frontend-package-json/1447/5 "2025-04-03T16:17:35Z")

</div>

This method will now work since we are running an image that is pre-built with the OpenELIS code base, not your local code. If you want to make package-related changes, then you have to build a local image of the front-end container and run that locally built image! Only then will you be able to load packages into a container, and after that, you will be able to see changes.

---

<div class="post-metadata">

### Author: ![Govind](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/govind/32/614_2.png) [@Govind](https://talk.openelis-global.org/u/Govind)
#### Post date: [April 3, 2025, 5:04pm UTC](https://talk.openelis-global.org/t/error-while-running-the-container-after-including-new-package-to-frontend-package-json/1447/6 "2025-04-03T17:04:03Z")

</div>

Ok I’ll try to build a local image

---

<div class="post-metadata">

### Author: ![Dev](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.openelis-global.org/dev/32/869_2.png) [@Dev](https://talk.openelis-global.org/u/Dev)
#### Post date: [April 4, 2025, 2:28pm UTC](https://talk.openelis-global.org/t/error-while-running-the-container-after-including-new-package-to-frontend-package-json/1447/7 "2025-04-04T14:28:35Z")

</div>

@aditya could you please invite me to slack ?

---

<div class="post-metadata">

### Author: ![aditya](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@aditya](https://talk.openelis-global.org/u/aditya)
#### Post date: [April 4, 2025, 2:31pm UTC](https://talk.openelis-global.org/t/error-while-running-the-container-after-including-new-package-to-frontend-package-json/1447/8 "2025-04-04T14:31:44Z")

</div>

Hey @Dev if you have added EMAIL on slack adding talk thread then you will invited soon don’t worry!
