Setting Up openmrs-esm-patient-management for Testing

Thanks @ibacher. @ayushmishra the right command is →

yarn start --sources 'packages/esm-appointments-app'
1 Like

Thanks, package name was incorrect. Now I am able to start the dev server using yarn start --sources 'packages/esm-*-app/'. But yarn start --backend http://localhost/openmrs/ is throwing the same error.

Thanks @kdaud for the help.

What happens when you add port number 8080 in the backend url?

yarn start --backend http://localhost:8080/openmrs

Give me the same error.

You need to specify both the project to run (--sources) and the backend (--backend)…


Okay Thanks.

Should I go ahead and fix this in Readme cause this is confusing and others may also face the same issue? For fixing this, do I need to create a issue in jira?

1 Like

Create a ticket at Log in - OpenMRS Issues and share it’s url for review.

Please have a look into the issue

Have put a comment on the ticket.

Commented on the ticket, have a look

Hello, @jayasanka I created the PR after fixing the yarn start command in the Readme. Please have a look (docs)O3-1963: updated yarn start command in Readme by ayush-AI · Pull Request #599 · openmrs/openmrs-esm-patient-management · GitHub

@ayushmishra could you update your jira issue with a PR comment as well :slightly_smiling_face:

yes Sure. Updated it.