# Build error in openmrs-uicommons

**URL:** <https://talk.openmrs.org/t/build-error-in-openmrs-uicommons/31568>\
**Category:** Development\
**Tags:** uicommons\
**Created:** [January 5, 2021, 12:13pm UTC](https://talk.openmrs.org/t/build-error-in-openmrs-uicommons/31568 "2021-01-05T12:13:16Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![atiq](https://talk.openmrs.org/user_avatar/talk.openmrs.org/atiq/32/14179_2.png) [@atiq](https://talk.openmrs.org/u/atiq)\
**Post date:** [January 5, 2021, 12:13pm UTC](https://talk.openmrs.org/t/build-error-in-openmrs-uicommons/31568/1 "2021-01-05T12:13:16Z")

</div>

Hello There, I made some changes in ui-commons module after that I am trying to build the module for omod, its giving me the following error. Therefore I revert the changes and again tried to build but in both cases it giving me following error.

```auto
[INFO] Building uicommons SCSS content 2.15.0-SNAPSHOT [3/4]
[INFO] --------------------------------[pom]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ uicommons-scss ---
[INFO]
[INFO] --- gem-maven-plugin:1.0.0-rc4:exec (default) @ uicommons-scss ---
[WARNING] ERROR: Error installing C:\Users\biz022\.m2\repository\rubygems\chunky_png\1.4.0\chunky_png-1.4.0.gem:
[WARNING] chunky_png requires Ruby version >= 2.0.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for UI Commons Module 2.15.0-SNAPSHOT:
[INFO]
[INFO] UI Commons Module .................................. SUCCESS [0.251 s]
[INFO] uicommons Module API ............................... SUCCESS [2.672 s]
[INFO] uicommons SCSS content ............................. FAILURE [7.361 s]
[INFO] uicommons Module OMOD .............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.176 s
[INFO] Finished at: 2021-01-05T17:39:35+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal de.saumya.mojo:gem-maven-plugin:1.0.0-rc4:exec (default) on project uicommons-scss: Execution default of goal de.saumya.mojo:gem-maven-plugin:1.0.0-rc4:exec failed: Java returned: 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/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :uicommons-scss

```

---

<div class="post-metadata">

**Author:** ![herbert24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/herbert24/32/8178_2.png) [@herbert24](https://talk.openmrs.org/u/herbert24)\
**Post date:** [January 5, 2021, 12:18pm UTC](https://talk.openmrs.org/t/build-error-in-openmrs-uicommons/31568/2 "2021-01-05T12:18:36Z")

</div>

add the full logs here [https://pastebin.com/](https://pastebin.com/)

---

<div class="post-metadata">

**Author:** ![atiq](https://talk.openmrs.org/user_avatar/talk.openmrs.org/atiq/32/14179_2.png) [@atiq](https://talk.openmrs.org/u/atiq)\
**Post date:** [January 5, 2021, 12:28pm UTC](https://talk.openmrs.org/t/build-error-in-openmrs-uicommons/31568/3 "2021-01-05T12:28:37Z")

</div>

Thanks for your response @herbert24, here the paste the whole logs. [[ERROR] Failed to execute goal de.saumya.mojo:gem-maven-plugin:1.0.0-rc4:exec (d - Pastebin.com](https://pastebin.com/C0sszCTw)

---

<div class="post-metadata">

**Author:** ![herbert24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/herbert24/32/8178_2.png) [@herbert24](https://talk.openmrs.org/u/herbert24)\
**Post date:** [January 5, 2021, 12:30pm UTC](https://talk.openmrs.org/t/build-error-in-openmrs-uicommons/31568/4 "2021-01-05T12:30:34Z")

</div>

was the build passing before your changes?

---

<div class="post-metadata">

**Author:** ![atiq](https://talk.openmrs.org/user_avatar/talk.openmrs.org/atiq/32/14179_2.png) [@atiq](https://talk.openmrs.org/u/atiq)\
**Post date:** [January 5, 2021, 12:32pm UTC](https://talk.openmrs.org/t/build-error-in-openmrs-uicommons/31568/5 "2021-01-05T12:32:10Z")

</div>

In both cases its giving me same error, I also tried different version but getting the same.

---

<div class="post-metadata">

**Author:** ![herbert24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/herbert24/32/8178_2.png) [@herbert24](https://talk.openmrs.org/u/herbert24)\
**Post date:** [January 5, 2021, 12:33pm UTC](https://talk.openmrs.org/t/build-error-in-openmrs-uicommons/31568/6 "2021-01-05T12:33:07Z")

</div>

have you pulled the latest changes before building?

---

<div class="post-metadata">

**Author:** ![atiq](https://talk.openmrs.org/user_avatar/talk.openmrs.org/atiq/32/14179_2.png) [@atiq](https://talk.openmrs.org/u/atiq)\
**Post date:** [January 5, 2021, 12:33pm UTC](https://talk.openmrs.org/t/build-error-in-openmrs-uicommons/31568/7 "2021-01-05T12:33:32Z")

</div>

Yes I did.

---

<div class="post-metadata">

**Author:** ![herbert24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/herbert24/32/8178_2.png) [@herbert24](https://talk.openmrs.org/u/herbert24)\
**Post date:** [January 5, 2021, 12:36pm UTC](https://talk.openmrs.org/t/build-error-in-openmrs-uicommons/31568/8 "2021-01-05T12:36:35Z")

</div>

let me too build at my side and i see whether this breaks too

---

<div class="post-metadata">

**Author:** ![atiq](https://talk.openmrs.org/user_avatar/talk.openmrs.org/atiq/32/14179_2.png) [@atiq](https://talk.openmrs.org/u/atiq)\
**Post date:** [January 5, 2021, 12:37pm UTC](https://talk.openmrs.org/t/build-error-in-openmrs-uicommons/31568/9 "2021-01-05T12:37:43Z")

</div>

Thank You, It will be really helpful !

---

<div class="post-metadata">

**Author:** ![atiq](https://talk.openmrs.org/user_avatar/talk.openmrs.org/atiq/32/14179_2.png) [@atiq](https://talk.openmrs.org/u/atiq)\
**Post date:** [January 5, 2021, 1:28pm UTC](https://talk.openmrs.org/t/build-error-in-openmrs-uicommons/31568/10 "2021-01-05T13:28:48Z")

</div>

Hello @herbert24 I would like to know about any updates on this. Thanks

---

<div class="post-metadata">

**Author:** ![herbert24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/herbert24/32/8178_2.png) [@herbert24](https://talk.openmrs.org/u/herbert24)\
**Post date:** [January 5, 2021, 1:54pm UTC](https://talk.openmrs.org/t/build-error-in-openmrs-uicommons/31568/12 "2021-01-05T13:54:59Z")

</div>

my build is successful [G:\openmrs\modules\openmrs-module-uicommons\>mvn clean install[INFO] Scanning - Pastebin.com](https://pastebin.com/GFF9W1kw)

---

<div class="post-metadata">

**Author:** ![herbert24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/herbert24/32/8178_2.png) [@herbert24](https://talk.openmrs.org/u/herbert24)\
**Post date:** [January 5, 2021, 1:56pm UTC](https://talk.openmrs.org/t/build-error-in-openmrs-uicommons/31568/13 "2021-01-05T13:56:42Z")

</div>

which java version are you running?

---

<div class="post-metadata">

**Author:** ![ibacher](https://talk.openmrs.org/user_avatar/talk.openmrs.org/ibacher/32/19751_2.png) [@ibacher](https://talk.openmrs.org/u/ibacher)\
**Post date:** [January 5, 2021, 2:43pm UTC](https://talk.openmrs.org/t/build-error-in-openmrs-uicommons/31568/14 "2021-01-05T14:43:24Z")

</div>

@atiq It would be easier to help if you could put the full output from Maven in [pastebin.com](http://pastebin.com).

---

<div class="post-metadata">

**Author:** ![atiq](https://talk.openmrs.org/user_avatar/talk.openmrs.org/atiq/32/14179_2.png) [@atiq](https://talk.openmrs.org/u/atiq)\
**Post date:** [January 5, 2021, 3:47pm UTC](https://talk.openmrs.org/t/build-error-in-openmrs-uicommons/31568/15 "2021-01-05T15:47:55Z")

</div>

I am running 1.8.

---

<div class="post-metadata">

**Author:** ![atiq](https://talk.openmrs.org/user_avatar/talk.openmrs.org/atiq/32/14179_2.png) [@atiq](https://talk.openmrs.org/u/atiq)\
**Post date:** [January 5, 2021, 3:50pm UTC](https://talk.openmrs.org/t/build-error-in-openmrs-uicommons/31568/16 "2021-01-05T15:50:12Z")

</div>

Thank for your response @ibacher. Here I paste the full logs. G:\openmrs\modules\openmrs-module-uicommons\>mvn clean install[INFO] Scanning - [Pastebin.com](http://Pastebin.com)

---

<div class="post-metadata">

**Author:** ![ibacher](https://talk.openmrs.org/user_avatar/talk.openmrs.org/ibacher/32/19751_2.png) [@ibacher](https://talk.openmrs.org/u/ibacher)\
**Post date:** [January 5, 2021, 4:08pm UTC](https://talk.openmrs.org/t/build-error-in-openmrs-uicommons/31568/17 "2021-01-05T16:08:39Z")

</div>

That [pastebin.com](http://pastebin.com) link doesn’t work for me…

---

<div class="post-metadata">

**Author:** ![herbert24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/herbert24/32/8178_2.png) [@herbert24](https://talk.openmrs.org/u/herbert24)\
**Post date:** [January 5, 2021, 4:59pm UTC](https://talk.openmrs.org/t/build-error-in-openmrs-uicommons/31568/18 "2021-01-05T16:59:26Z")

</div>

@atiq the link is empty. Make sure you click the create new paste button

---

<div class="post-metadata">

**Author:** ![atiq](https://talk.openmrs.org/user_avatar/talk.openmrs.org/atiq/32/14179_2.png) [@atiq](https://talk.openmrs.org/u/atiq)\
**Post date:** [January 6, 2021, 4:59am UTC](https://talk.openmrs.org/t/build-error-in-openmrs-uicommons/31568/19 "2021-01-06T04:59:47Z")

</div>

Sorry for the inconvenience here the full logs . [https://pastebin.com/uheXme4J](https://pastebin.com/uheXme4J)

---

<div class="post-metadata">

**Author:** ![atiq](https://talk.openmrs.org/user_avatar/talk.openmrs.org/atiq/32/14179_2.png) [@atiq](https://talk.openmrs.org/u/atiq)\
**Post date:** [January 6, 2021, 6:21am UTC](https://talk.openmrs.org/t/build-error-in-openmrs-uicommons/31568/20 "2021-01-06T06:21:34Z")

</div>

Solved the issue by changing path . Thanks @herbert24 , @ibacher for your response.

---

<div class="post-metadata">

**Author:** ![tops](https://talk.openmrs.org/letter_avatar/tops/32/5_5575768a8748004e209b776fc1b2916d.png) [@tops](https://talk.openmrs.org/u/tops)\
**Post date:** [November 19, 2021, 8:51am UTC](https://talk.openmrs.org/t/build-error-in-openmrs-uicommons/31568/21 "2021-11-19T08:51:10Z")

</div>

Please what path did you change i have the same error
