Hello everyone. I would love to work on https://issues.openmrs.org/projects/O3/issues/O3-1696?filter=allopenissues but I can’t tell which files I should clone. I have read OpenMRS Frontend 3.0 Documentation for Developers and OpenMRS Frontend 3.0 Documentation for Developers but still can’t figure it out. ANy assistance. Thank you.
This is the repo to clone GitHub - openmrs/openmrs-esm-patient-chart: Patient dashboard microfrontend for the OpenMRS SPA. In your terminal run yarn start --sources 'packages/esm-attachments-app'
to start the attachments app alone.
Thank you @jwnasambu for always helping
If I use windows, is npm an option instead of yarn??
Kindly I haven’t understood you question. If you don’t mind shade some more light please!
you can get yarn from npm registry using npm install --global yarn
with your powershell run as admin. there are other ways of using yarn but its not os specific.
I’d recommend following Yarn’s documentation on this, since corepack
exists to solve this problem on newer versions of Node.
Thank you @ibacher
THANKS @thembo42
When I run the command above, I get this error
yarn : File C:\Users\AS-HS\AppData\Roaming\npm\yarn.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170. At line:1 char:1
- yarn start --sources ‘packages/esm-attachments-app’
-
+ CategoryInfo : SecurityError: (:) [], PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess
go to system settings → Update & Security → For Developers → PowerShell
then apply the optio to execute Powershell scripts
all you are doing indirectly is: Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned