CODEBASE setup issues

Hey, so i am trying to setup openelis using github codespace and installed all dependecy and then run:
@yashitz07 ➜ /workspaces/OpenELIS-Global-2 (develop) $ cd frontend/
@yashitz07 ➜ /workspaces/OpenELIS-Global-2/frontend (develop) $ npm start

It is showing…

kindly share the full details of the error you are facing, you can include screenshots where possible

okay so I have tried to setup openelis using github codespace then i tried to build it using

The build is successful and it had created .war file in target

After that i started docker container using

after that i move to frontend directory and installed node_modules folder and then start npm start

But when i opened server it was showing unauthenticated.

It would be really helpful if could get to know how to resolve this issue

@Yash_Patel have u tried using codespaces ?? as I said in DM

if not then please try once

else there is other way which is GITPOD and other one is WSL in windows !

Do you have any changes that are not commited ?? If so stash them then, try removing docker containers with this docker-compose down since you may not need docker for running the dev server .Then re-run npm run start make sure your branch is up to date as well

seems he is actually using codespace

Yeah I have done this but same result Ig there maybe issue is with frontend not getting access from backend api

this http://127.0.0.1:8080/ port is working fine ig but,

share the screenshots of your terminal or IDE with the commands you are running

yeah here is screenshots

This is the ports which are running :

And this is output on the port 3000

1 Like

OE doesnt run on port 3000 you need to look through something called port forwarding !

I am facing an issue that my frontend changes aren’t reflecting over the web. Is there something I am missing?

Oh, can you tell me how i can implement that briefly, it would be helpful;

@NISHCHAY_RAJPUT and @NISHCHAY_RAJPUT are not runinng OpenELIS in codespace ??

please try that once

and in codespaces or GITPOD you can use dev.docker-compose.yml file to achieve

changes to be reflected in in real time

are you working locally or on codespace, share more details

lemme run it and see,

you seem to be setting up the server in codespace but opening the link locally. Try this out:

. hover on those ports and click on Open in browser . You can also add another port. Simply click click on that green Add port, then type a port you wish like 80 or 8080

there must be open in browser option !

1 Like


consider these provided options, click on localhost

I have tried codespace in browser run same command i.e first build using mvn, 2nd into frontend directory and run npm run start

ports showing is:

But i havent got any output.

@Yash_Patel
have u tried other exposed ports links ??