cancel
Showing results for 
Search instead for 
Did you mean: 

Build fails on running grunt

Former Member
0 Kudos

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

Former Member
0 Kudos

Try solution described in: http://answers.sap.com/answers/12794787/view.html I had also some grunt problems, and it helped.

Former Member
0 Kudos

It didn't help but thanks!

former_member578868
Participant
0 Kudos

: Could you please list the solution here? Thanks

Accepted Solutions (0)

Answers (0)