Skip to Content
1
Former Member
May 12, 2017 at 02:50 PM

Build fails on running grunt

687 Views

Hey,

I'm building Hybris6.3 on our Red Hat Linux machine with "ant clean all". I get the following error when trying to build:

      [exec] chmod: cannot access ‘/tmp/hybris/hybris/bin/ext-content/npmancillary/resources/npm/node_modules/protractor/selenium/chromedriver/chromedriver’: No such file or directory
      [exec] Result: 1
      [echo] Running grunt packageSkipTests
 
 BUILD FAILED
 /tmp/hybris/hybris/bin/platform/build.xml:20: The following error occurred while executing this line:
 /tmp/hybris/hybris/bin/platform/resources/ant/compiling.xml:90: The following error occurred while executing this line:
 /tmp/hybris/hybris/bin/platform/resources/ant/compiling.xml:148: The following error occurred while executing this line:
 /tmp/hybris/hybris/bin/platform/resources/ant/util.xml:20: The following error occurred while executing this line:
 /tmp/hybris/hybris/bin/platform/resources/ant/compiling.xml:155: The following error occurred while executing this line:
 /tmp/hybris/hybris/bin/platform/resources/ant/compiling.xml:297: The following error occurred while executing this line:
 /tmp/hybris/hybris/bin/platform/resources/ant/util.xml:144: The following error occurred while executing this line:
 /tmp/hybris/hybris/bin/ext-content/smartedit/buildcallbacks.xml:75: The following error occurred while executing this line:
 /tmp/hybris/hybris/bin/ext-content/npmancillary/buildcallbacks.xml:287: Execute failed: java.io.IOException: Cannot run program "/tmp/hybris/hybris/bin/ext-content/npmancillary/resources/npm/node_modules/.bin/grunt" (in directory "/tmp/hybris/hybris/bin/ext-content/smartedit"): error=13, Permission denied
         at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
 


Do you have any idea on what the cause could be? I've already tried to set the permissions for the whole hybris folder to 755 (and even higher) but it doesn't work.

I also don't get the error on my local windows machine.

Best, Arif