eirslett / frontend-maven-plugin

"Maven-node-grunt-gulp-npm-node-plugin to end all maven-node-grunt-gulp-npm-plugins." A Maven plugin that downloads/installs Node and NPM locally, runs NPM install, Grunt, Gulp and/or Karma.
Apache License 2.0
4.23k stars 867 forks source link

opencast-admin-ui(-frontend) does not build on ubuntu 18.04 #939

Open samanthaherath opened 3 years ago

samanthaherath commented 3 years ago

Dear all i am tring to install opencast on lubuntu 18.04 but when i run this command "mvn clean install -DskipTests" i have tohave got the this error massage

[INFO] Assemblies // Distribution Admin/Presentation ...... SKIPPED [INFO] Assemblies // Distribution All-In-One .............. SKIPPED [INFO] Assemblies // Distribution Ingest .................. SKIPPED [INFO] Assemblies // Distribution Presentation ............ SKIPPED [INFO] Assemblies // Distribution Worker .................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:53 min [INFO] Finished at: 2020-10-16T14:23:33+05:30 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.7.6:install-node-and-npm (install node and npm) on project opencast-admin-ui-frontend: Could not download Node.js: Got error code 404 from the server. -> [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 -rf :opencast-admin-ui-frontend

so pease hellp me to solve this

Thanks

holgergp commented 3 years ago

Hi!

Does the project build successfully on any other platform? In case you missed it. The download request 404s, node cannot be found where it is assumed to be located. So maybe there is some proxy thing going on, the URL got mixed up, or maybe the node package is really just not there. Can you please run maven with the -X switch and look for the exact url that receives the 404 response code. We can diagnose further looking at the url.