Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\HP>mvn openmrs-sdk:setup
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
- [INFO] Building Maven Stub Project (No POM) 1
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] --- openmrs-sdk:6.8.0:setup (default-cli) @ standalone-pom ---
- Jul 12, 2026 1:37:40 PM org.jline.utils.Log logr
- WARNING: Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information)
- Setting up a new server...
- Specify server id (-DserverId) (default: 'server'): Osuta
- You can setup the following distributions:
- 1) Reference Application 2.x
- 2) Reference Application 3.x
- 3) Platform
- 4) Other...
- Which one do you choose? [1/2/3/4]: 2
- Please choose a Reference Application 3.x version:
- 1) 3.8.0
- 2) 3.7.1-rc.4
- 3) 3.6.0
- 4) 3.5.0
- 5) 3.4.1-SNAPSHOT
- 6) Lower Versions...
- 7) Enter Specific Version
- Which one do you choose? [1/2/3/4/5/6/7]: 3
- Building distribution from artifact: org.openmrs:distro-emr-configuration:3.6.0
- [INFO] Configured Artifact: org.openmrs:distro-emr-configuration:3.6.0:zip
- [INFO] Unpacking C:\Users\HP\.m2\repository\org\openmrs\distro-emr-configuration\3.6.0\distro-emr-configuration-3.6.0.zip to C:\Users\HP\AppData\Local\Temp\openmrs-sdk-distro-emr-configuration14360726245787610321 with includes "" and excludes ""
- This is a 3.x refapp distribution
- [INFO] Configured Artifact: org.openmrs:distro-emr-frontend:3.6.0:zip
- [INFO] Unpacking C:\Users\HP\.m2\repository\org\openmrs\distro-emr-frontend\3.6.0\distro-emr-frontend-3.6.0.zip to C:\Users\HP\AppData\Local\Temp\openmrs-sdk-distro-emr-frontend16277408961105512042 with includes "" and excludes ""
- [INFO] Configured Artifact: org.openmrs.content:referenceapplication:1.4.0:zip
- [INFO] Unpacking C:\Users\HP\.m2\repository\org\openmrs\content\referenceapplication\1.4.0\referenceapplication-1.4.0.zip to C:\Users\HP\AppData\Local\Temp\openmrs-sdk-referenceapplication-content-package4334611358733728310 with includes "" and excludes ""
- [INFO] Configured Artifact: org.openmrs.content:referenceapplication-demo:1.7.0:zip
- [INFO] Unpacking C:\Users\HP\.m2\repository\org\openmrs\content\referenceapplication-demo\1.7.0\referenceapplication-demo-1.7.0.zip to C:\Users\HP\AppData\Local\Temp\openmrs-sdk-referenceapplication-demo-content-package8238238372588746048 with includes "" and excludes ""
- [INFO] Configured Artifact: org.openmrs.web:openmrs-webapp:2.8.4:war
- [INFO] Copying openmrs-webapp-2.8.4.war to C:\Users\HP\openmrs\Osuta\openmrs-2.8.4.war
- [INFO] Configured Artifact: org.openmrs.module:patientdocuments-omod:1.0.0:jar
- [INFO] Configured Artifact: org.openmrs.module:referencedemodata-omod:2.6.1:jar
- [INFO] Configured Artifact: org.openmrs.module:metadatamapping-omod:2.0.0:jar
- [INFO] Configured Artifact: org.openmrs.module:attachments-omod:4.0.0:jar
- [INFO] Configured Artifact: org.openmrs.module:webservices.rest-omod:3.2.0:jar
- [INFO] Configured Artifact: org.openmrs.module:billing-omod:2.2.0:jar
- [INFO] Configured Artifact: org.bahmni.module:appointments-omod:2.1.0-20250318.070530-1:jar
- [INFO] Configured Artifact: org.openmrs.module:authentication-omod:2.2.0:jar
- [INFO] Configured Artifact: org.openmrs.module:bedmanagement-omod:7.2.0:jar
- [INFO] Configured Artifact: org.openmrs.module:patientflags-omod:3.0.10:jar
- [INFO] Configured Artifact: org.bahmni.module:teleconsultation-omod:2.1.0-20250318.154145-1:jar
- [INFO] Configured Artifact: org.openmrs.module:calculation-omod:2.0.0:jar
- [INFO] Configured Artifact: org.openmrs.module:reportingrest-omod:2.0.0:jar
- [INFO] Configured Artifact: org.openmrs.module:cohort-omod:3.7.3:jar
- [INFO] Configured Artifact: org.openmrs.module:reporting-omod:2.1.0:jar
- [INFO] Configured Artifact: org.openmrs.module:spa-omod:3.1.0-SNAPSHOT:jar
- [INFO] Configured Artifact: org.openmrs.module:ordertemplates-omod:2.2.0:jar
- [INFO] Configured Artifact: org.openmrs.module:o3forms-omod:2.3.0:jar
- [INFO] Configured Artifact: org.openmrs:event-omod:4.0.0:jar
- [INFO] Configured Artifact: org.openmrs.module:legacyui-omod:2.0.0:jar
- [INFO] Configured Artifact: org.openmrs.module:htmlwidgets-omod:2.0.1:jar
- [INFO] Configured Artifact: org.openmrs.module:emrapi-omod:3.2.1:jar
- [INFO] Configured Artifact: org.openmrs.module:idgen-omod:5.0.4:jar
- [INFO] Configured Artifact: org.openmrs.module:initializer-omod:2.11.0:jar
- [INFO] Configured Artifact: org.openmrs.module:serialization.xstream-omod:0.3.0:omod
- [INFO] Configured Artifact: org.openmrs.module:addresshierarchy-omod:2.21.0:jar
- [INFO] Configured Artifact: org.openmrs.module:queue-omod:3.0.0:jar
- [INFO] Configured Artifact: org.openmrs.module:openconceptlab-omod:3.0.0:jar
- [INFO] Configured Artifact: org.openmrs.module:fhir2-omod:3.0.0:jar
- [INFO] Configured Artifact: org.openmrs.module:stockmanagement-omod:3.0.0:jar
- [INFO] Copying patientdocuments-omod-1.0.0.jar to C:\Users\HP\openmrs\Osuta\modules\patientdocuments-1.0.0.omod
- [INFO] Copying referencedemodata-omod-2.6.1.jar to C:\Users\HP\openmrs\Osuta\modules\referencedemodata-2.6.1.omod
- [INFO] Copying metadatamapping-omod-2.0.0.jar to C:\Users\HP\openmrs\Osuta\modules\metadatamapping-2.0.0.omod
- [INFO] Copying attachments-omod-4.0.0.jar to C:\Users\HP\openmrs\Osuta\modules\attachments-4.0.0.omod
- [INFO] Copying webservices.rest-omod-3.2.0.jar to C:\Users\HP\openmrs\Osuta\modules\webservices.rest-3.2.0.omod
- [INFO] Copying billing-omod-2.2.0.jar to C:\Users\HP\openmrs\Osuta\modules\billing-2.2.0.omod
- [INFO] Copying appointments-omod-2.1.0-SNAPSHOT.jar to C:\Users\HP\openmrs\Osuta\modules\appointments-2.1.0-20250318.070530-1.omod
- [INFO] Copying authentication-omod-2.2.0.jar to C:\Users\HP\openmrs\Osuta\modules\authentication-2.2.0.omod
- [INFO] Copying bedmanagement-omod-7.2.0.jar to C:\Users\HP\openmrs\Osuta\modules\bedmanagement-7.2.0.omod
- [INFO] Copying patientflags-omod-3.0.10.jar to C:\Users\HP\openmrs\Osuta\modules\patientflags-3.0.10.omod
- [INFO] Copying teleconsultation-omod-2.1.0-SNAPSHOT.jar to C:\Users\HP\openmrs\Osuta\modules\teleconsultation-2.1.0-20250318.154145-1.omod
- [INFO] Copying calculation-omod-2.0.0.jar to C:\Users\HP\openmrs\Osuta\modules\calculation-2.0.0.omod
- [INFO] Copying reportingrest-omod-2.0.0.jar to C:\Users\HP\openmrs\Osuta\modules\reportingrest-2.0.0.omod
- [INFO] Copying cohort-omod-3.7.3.jar to C:\Users\HP\openmrs\Osuta\modules\cohort-3.7.3.omod
- [INFO] Copying reporting-omod-2.1.0.jar to C:\Users\HP\openmrs\Osuta\modules\reporting-2.1.0.omod
- [INFO] Copying spa-omod-3.1.0-SNAPSHOT.jar to C:\Users\HP\openmrs\Osuta\modules\spa-3.1.0-SNAPSHOT.omod
- [INFO] Copying ordertemplates-omod-2.2.0.jar to C:\Users\HP\openmrs\Osuta\modules\ordertemplates-2.2.0.omod
- [INFO] Copying o3forms-omod-2.3.0.jar to C:\Users\HP\openmrs\Osuta\modules\o3forms-2.3.0.omod
- [INFO] Copying event-omod-4.0.0.jar to C:\Users\HP\openmrs\Osuta\modules\event-4.0.0.omod
- [INFO] Copying legacyui-omod-2.0.0.jar to C:\Users\HP\openmrs\Osuta\modules\legacyui-2.0.0.omod
- [INFO] Copying htmlwidgets-omod-2.0.1.jar to C:\Users\HP\openmrs\Osuta\modules\htmlwidgets-2.0.1.omod
- [INFO] Copying emrapi-omod-3.2.1.jar to C:\Users\HP\openmrs\Osuta\modules\emrapi-3.2.1.omod
- [INFO] Copying idgen-omod-5.0.4.jar to C:\Users\HP\openmrs\Osuta\modules\idgen-5.0.4.omod
- [INFO] Copying initializer-omod-2.11.0.jar to C:\Users\HP\openmrs\Osuta\modules\initializer-2.11.0.omod
- [INFO] Copying serialization.xstream-omod-0.3.0.omod to C:\Users\HP\openmrs\Osuta\modules\serialization.xstream-0.3.0.omod
- [INFO] Copying addresshierarchy-omod-2.21.0.jar to C:\Users\HP\openmrs\Osuta\modules\addresshierarchy-2.21.0.omod
- [INFO] Copying queue-omod-3.0.0.jar to C:\Users\HP\openmrs\Osuta\modules\queue-3.0.0.omod
- [INFO] Copying openconceptlab-omod-3.0.0.jar to C:\Users\HP\openmrs\Osuta\modules\openconceptlab-3.0.0.omod
- [INFO] Copying fhir2-omod-3.0.0.jar to C:\Users\HP\openmrs\Osuta\modules\fhir2-3.0.0.omod
- [INFO] Copying stockmanagement-omod-3.0.0.jar to C:\Users\HP\openmrs\Osuta\modules\stockmanagement-3.0.0.omod
- [INFO] Configured Artifact: org.openmrs.content:referenceapplication:1.4.0:zip
- [INFO] Unpacking C:\Users\HP\.m2\repository\org\openmrs\content\referenceapplication\1.4.0\referenceapplication-1.4.0.zip to C:\Users\HP\AppData\Local\Temp\openmrs-sdk-referenceapplication-content-package10879258575376847598 with includes "" and excludes ""
- [INFO] Configured Artifact: org.openmrs.content:referenceapplication-demo:1.7.0:zip
- [INFO] Unpacking C:\Users\HP\.m2\repository\org\openmrs\content\referenceapplication-demo\1.7.0\referenceapplication-demo-1.7.0.zip to C:\Users\HP\AppData\Local\Temp\openmrs-sdk-referenceapplication-demo-content-package7675662000163123768 with includes "" and excludes ""
- [INFO] Configured Artifact: org.openmrs.content:referenceapplication:1.4.0:zip
- [INFO] Unpacking C:\Users\HP\.m2\repository\org\openmrs\content\referenceapplication\1.4.0\referenceapplication-1.4.0.zip to C:\Users\HP\AppData\Local\Temp\openmrs-sdk-referenceapplication-content-package17058183036298895242 with includes "" and excludes ""
- [INFO] Configured Artifact: org.openmrs.content:referenceapplication:1.4.0:zip
- [INFO] Unpacking C:\Users\HP\.m2\repository\org\openmrs\content\referenceapplication\1.4.0\referenceapplication-1.4.0.zip to C:\Users\HP\AppData\Local\Temp\openmrs-sdk-referenceapplication-content-package9687430366978955812 with includes "" and excludes ""
- [INFO] Configured Artifact: org.openmrs.content:referenceapplication-demo:1.7.0:zip
- [INFO] Unpacking C:\Users\HP\.m2\repository\org\openmrs\content\referenceapplication-demo\1.7.0\referenceapplication-demo-1.7.0.zip to C:\Users\HP\AppData\Local\Temp\openmrs-sdk-referenceapplication-demo-content-package8506801319782981099 with includes "" and excludes ""
- [INFO] Configured Artifact: org.openmrs.content:referenceapplication-demo:1.7.0:zip
- [INFO] Unpacking C:\Users\HP\.m2\repository\org\openmrs\content\referenceapplication-demo\1.7.0\referenceapplication-demo-1.7.0.zip to C:\Users\HP\AppData\Local\Temp\openmrs-sdk-referenceapplication-demo-content-package3630193620524460594 with includes "" and excludes ""
- [INFO] Configured Artifact: org.openmrs.content:referenceapplication:1.4.0:zip
- [INFO] Unpacking C:\Users\HP\.m2\repository\org\openmrs\content\referenceapplication\1.4.0\referenceapplication-1.4.0.zip to C:\Users\HP\AppData\Local\Temp\openmrs-sdk-referenceapplication-content-package12790428498926174046 with includes "" and excludes ""
- [INFO] Configured Artifact: org.openmrs.content:referenceapplication-demo:1.7.0:zip
- [INFO] Unpacking C:\Users\HP\.m2\repository\org\openmrs\content\referenceapplication-demo\1.7.0\referenceapplication-demo-1.7.0.zip to C:\Users\HP\AppData\Local\Temp\openmrs-sdk-referenceapplication-demo-content-package17165350843128021049 with includes "" and excludes ""
- [INFO] Configured Artifact: org.openmrs.content:referenceapplication:1.4.0:zip
- [INFO] Unpacking C:\Users\HP\.m2\repository\org\openmrs\content\referenceapplication\1.4.0\referenceapplication-1.4.0.zip to C:\Users\HP\AppData\Local\Temp\openmrs-sdk-referenceapplication-content-package12583808776128792639 with includes "" and excludes ""
- [INFO] Configured Artifact: org.openmrs.content:referenceapplication:1.4.0:zip
- [INFO] Unpacking C:\Users\HP\.m2\repository\org\openmrs\content\referenceapplication\1.4.0\referenceapplication-1.4.0.zip to C:\Users\HP\AppData\Local\Temp\openmrs-sdk-referenceapplication-content-package8658814581505227891 with includes "" and excludes ""
- [INFO] Configured Artifact: org.openmrs.content:referenceapplication-demo:1.7.0:zip
- [INFO] Unpacking C:\Users\HP\.m2\repository\org\openmrs\content\referenceapplication-demo\1.7.0\referenceapplication-demo-1.7.0.zip to C:\Users\HP\AppData\Local\Temp\openmrs-sdk-referenceapplication-demo-content-package8194016701346222050 with includes "" and excludes ""
- [INFO] Configured Artifact: org.openmrs.content:referenceapplication-demo:1.7.0:zip
- [INFO] Unpacking C:\Users\HP\.m2\repository\org\openmrs\content\referenceapplication-demo\1.7.0\referenceapplication-demo-1.7.0.zip to C:\Users\HP\AppData\Local\Temp\openmrs-sdk-referenceapplication-demo-content-package12905611022036827328 with includes "" and excludes ""
- [INFO] Using Node.js version: 20.17.0
- [INFO] Using NPM version: 10.8.2
- [INFO] Using OpenMRS Core frontend CLI version: 9.0.2
- [INFO] Created node install temporary directory: C:\Users\HP\AppData\Local\Temp\openmrs-sdk-node2865540007367320844
- [INFO] Created lib dir C:\Users\HP\AppData\Local\Temp\openmrs-sdk-node2865540007367320844\lib
- [INFO] Installing node version v20.17.0
- [INFO] Copying node binary from C:\Users\HP\.m2\repository\com\github\eirslett\node\20.17.0\node-20.17.0-win-x64.exe to C:\Users\HP\AppData\Local\Temp\openmrs-sdk-node2865540007367320844\node\node.exe
- [INFO] Installed node locally.
- [INFO] Installing npm version 10.8.2
- [INFO] Unpacking C:\Users\HP\.m2\repository\com\github\eirslett\npm\10.8.2\npm-10.8.2.tar.gz into C:\Users\HP\AppData\Local\Temp\openmrs-sdk-node2865540007367320844\node\node_modules
- [INFO] Installed npm locally.
- [INFO] npm not inheriting proxy config from Maven
- [INFO] Running 'npm --legacy-peer-deps --cache=C:\Users\HP\AppData\Local\Temp\openmrs-sdk-node2865540007367320844\npm-cache exec -- [email protected] --version' in C:\Users\HP
- [INFO] npm warn exec The following package was not found and will be installed: [email protected]
- [INFO] npm warn deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
- [INFO] npm warn deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead
- [INFO] npm warn deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
- [INFO] npm warn deprecated [email protected]: [email protected]
- [INFO] npm warn deprecated [email protected]: It is not compatible with newer versions of GA starting with v4, as long as you are using GAv3 it should be ok, but the package is not longer being maintained
- [INFO] npm warn deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
- [INFO] npm warn deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
- [INFO] npm warn deprecated [email protected]: This package is no longer supported.
- [INFO] npm warn deprecated [email protected]: This package is no longer supported. Please use @npmcli/package-json instead.
- [INFO] npm warn deprecated [email protected]: This package is no longer supported.
- [INFO] npm warn deprecated [email protected]: This package is no longer supported.
- [INFO] npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
- [INFO] npm warn deprecated [email protected]: uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).
- [INFO] npm warn deprecated [email protected]: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]
- [INFO] npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]
- [INFO] npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
- [INFO] npm warn deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
- [INFO] npm warn deprecated [email protected]: The work that was done in this beta branch won't be included in future versions
- [INFO] npm warn deprecated [email protected]: uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).
- [INFO] npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]
- [INFO] npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
- [INFO] npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
- [INFO] npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]
- [INFO] npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]
- [INFO] 9.0.2
- [INFO] npm notice
- [INFO] npm notice New major version of npm available! 10.8.2 -> 12.0.1
- [INFO] npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.0.1
- [INFO] npm notice To update run: npm install -g [email protected]
- [INFO] npm notice
- [INFO] npm not inheriting proxy config from Maven
- [INFO] Running 'npm --legacy-peer-deps --cache=C:\Users\HP\AppData\Local\Temp\openmrs-sdk-node2865540007367320844\npm-cache exec -- [email protected] assemble --target C:\Users\HP\openmrs\Osuta\frontend --mode config --config C:\Users\HP\openmrs\Osuta\spa-build-config.json' in C:\Users\HP
- [INFO] [openmrs] Reading configuration C:\Users\HP\openmrs\Osuta\spa-build-config.json ...
- [INFO] [openmrs] Assembling dependencies and building import map and routes registry...
- [INFO] [openmrs] Routes file C:\Users\HP\openmrs\Osuta\frontend\openmrs-esm-user-onboarding-app-4.0.0\routes.json does not exist. We expect that routes file to be defined by @openmrs/esm-user-onboarding-app. Note that this means that no pages or extensions for @openmrs/esm-user-onboarding-app will be available.
- [INFO] [openmrs] Finished assembling frontend distribution
- [INFO] npm not inheriting proxy config from Maven
- [INFO] Running 'npm --legacy-peer-deps --cache=C:\Users\HP\AppData\Local\Temp\openmrs-sdk-node2865540007367320844\npm-cache exec -- [email protected] build --target C:\Users\HP\openmrs\Osuta\frontend --build-config C:\Users\HP\openmrs\Osuta\spa-build-config.json' in C:\Users\HP
- [INFO] [openmrs] Running build process ...
- [INFO] [openmrs] ModuleNotFoundError: Module not found: Error: Can't resolve '@react-aria/utils' in 'C:\Users\HP\AppData\Local\Temp\openmrs-sdk-node2865540007367320844\npm-cache\_npx\2968b5eba1f26f22\node_modules\@openmrs\esm-styleguide\src\datepicker'
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 16:00 min
- [INFO] Finished at: 2026-07-12T13:53:35+03:00
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:6.8.0:setup (default-cli) on project standalone-pom: Failed to setup server: Unable to install spa with node: Unable to execute mojo: Failed to run task: 'npm --legacy-peer-deps --cache=C:\Users\HP\AppData\Local\Temp\openmrs-sdk-node2865540007367320844\npm-cache exec -- [email protected] build --target C:\Users\HP\openmrs\Osuta\frontend --build-config C:\Users\HP\openmrs\Osuta\spa-build-config.json' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Advertisement
Add Comment
Please, Sign In to add comment