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

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).

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

1 Like

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

@atulyadav745 I ran the same command to install packages

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

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.

2 Likes

Ok I’ll try to build a local image

@aditya could you please invite me to slack ?

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