Hi,
First off, please use the matterho...@opencast.org list for support questions!
To address your issue, we need the part of the build above the list of modules to tell exactly what's going wrong, but if I had to guess I would say you either have a Git clone that was built with a previous Opencast version (solution: delete modules/matterhorn-admin-ui-ng and re-checkout) or an old version of Node.js. If the above solutions don't resolve your issue please provide the full build log as am attachment or in pastebin.
Thanks,
G
In my Ubuntu 14.04 box, I always failed on this step when building Opencast 2.2.0 with "mvn clean install".--[INFO] Opencast // Assemblies // Distribution Presentation SKIPPED[INFO] Opencast // Assemblies // Distribution Worker ...... SKIPPED[INFO] ------------------------------------------------------------------------[INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] Total time: 04:32 min[INFO] Finished at: 2016-06-21T07:52:22+08:00[INFO] Final Memory: 189M/552M[INFO] ------------------------------------------------------------------------[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.23:npm (frontend build) on project matterhorn-admin-ui-ng: Failed to run task: 'npm run build --no-color --skipTests=false --color=false' failed. (error code 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/MojoFailureException[ERROR][ERROR] After correcting the problems, you can resume the build with the command[ERROR] mvn <goals> -rf :matterhorn-admin-ui-ng
You received this message because you are subscribed to the Google Groups "Opencast Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to community+...@opencast.org.
Yes I tried this for the module matterhorn-admin-ui-ng
Am Dienstag, 28. Juni 2016 11:42:32 UTC+2 schrieb Markus Ruepp:Hi roger,
Did you try to delete your node_modules folder before you run the maven build?
Regards markusAm 28. Juni 2016 11:17:26 MESZ, schrieb Roger <roger....@htwchur.ch>:Hi, I rerun the "mvn clean install -e" and got the error messages as listed below.I have attached the full output of the install process.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:08 min
[INFO] Finished at: 2016-06-28T10:12:52+02:00
[INFO] Final Memory: 184M/583M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.23:npm (frontend build) on project matterhorn-admin-ui-ng: Failed to run task: 'npm run build --no-color --skipTests=false --color=false' failed. (error code 1) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.23:npm (frontend build) on project matterhorn-admin-ui-ng: Failed to run task
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
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:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
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:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoFailureException: Failed to run task
at com.github.eirslett.maven.plugins.frontend.mojo.NpmMojo.execute(NpmMojo.java:62)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
... 20 more
Caused by: com.github.eirslett.maven.plugins.frontend.lib.TaskRunnerException: 'npm run build --no-color --skipTests=false --color=false' failed. (error code 1)
at com.github.eirslett.maven.plugins.frontend.lib.NodeTaskExecutor.execute(NodeTaskExecutor.java:38)
at com.github.eirslett.maven.plugins.frontend.mojo.NpmMojo.execute(NpmMojo.java:59)
... 22 more
[ERROR]
[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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :matterhorn-admin-ui-ng
RegardsRoger
--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
Hi,
First off, please use the matterho...@opencast.org list for support questions!
To address your issue, we need the part of the build above the list of modules to tell exactly what's going wrong, but if I had to guess I would say you either have a Git clone that was built with a previous Opencast version (solution: delete modules/matterhorn-admin-ui-ng and re-checkout) or an old version of Node.js. If the above solutions don't resolve your issue please provide the full build log as am attachment or in pastebin.