throw grunt error
lufeng1102 opened this issue · 6 comments
Hi
I run the mvn install command to build the latest project but throw exception as following .
[INFO] Amazon DynamoDB Cross Region Replication Library .. SUCCESS [3.071s]
[INFO] Amazon DynamoDB Cross Region Replication Manager .. FAILURE [14.435s]
[INFO] Amazon DynamoDB Cross Region Replication Demo ..... SKIPPED
[INFO] Amazon DynamoDB Cross Region ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.800s
[INFO] Finished at: Tue Mar 10 17:59:47 CST 2015
[INFO] Final Memory: 17M/213M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.trecloux:yeoman-maven-plugin:0.1:build (default) on project dynamodb-cross-region-replication-manager: Error during : grunt --no-color: Process exited with an error: 6 (Exit value: 6) -> [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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :dynamodb-cross-region-replication-manager
npm version is 2.5.1
grunt-cli v0.1.13
grunt v0.4.5
Thanks.
It seems grunt failed at some point. I think you can find console output like the following before the error message above:
[INFO] --------------------------------------
[INFO] GRUNT --NO-COLOR
[INFO] --------------------------------------
Can you please share that section of your console output?
Hi kntyskw
here is the output message of mvn install http://justpaste.it/jvlt and here is the mvn debug output http://jpst.it/xgBJ
I use mvn debug the compile process and get following error message
[ERROR] Failed to execute goal com.github.trecloux:yeoman-maven-plugin:0.1:build (default) on project dynamodb-cross-region-replication-manager: Error during : grunt --no-color: Process exited with an error: 6 (Exit value: 6) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.trecloux:yeoman-maven-plugin:0.1:build (default) on project dynamodb-cross-region-replication-manager: Error during : grunt --no-color
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error during : grunt --no-color
at com.axonactive.yeoman.YeomanMojo.executeCommand(YeomanMojo.java:68)
at com.axonactive.yeoman.YeomanMojo.grunt(YeomanMojo.java:50)
at com.axonactive.yeoman.YeomanMojo.execute(YeomanMojo.java:40)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 6 (Exit value: 6)
at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:377)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:160)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:147)
at com.axonactive.yeoman.YeomanMojo.executeCommand(YeomanMojo.java:66)
... 23 more
I think I miss install the ruby compass and I will try this command to install it and try compile again
gem install compass
Thanks
Thank you lufeng1102.
According to the log from mvn install, it failed because compass (a ruby gem) was not found. Can you please run the following command and try again?
sudo gem install compass
We posted the comments almost at the same time! Please let us know if it solved the issue.
I noticed compass was not mentioned in the top level README.md. We will update it.
yes, install compass has solved my issue. Thanks.