the node/npm thing fails randomly for me as well. try running the mvn build again ;-(
On Monday, February 23, 2015, Ivan Gürtler <ivan.gurtler@ahead-itec.com> wrote:
Hi,I downloaded zip from ... https://github.com/aerogear/aerogear-unifiedpush-server ... import as maven project ...but I am facing some problem ... when I run maven install...[INFO] ------------------------------------------------------------------------[INFO] Building UnifiedPush Server (Admin UI) 1.1.0-alpha.2-SNAPSHOT[INFO] ------------------------------------------------------------------------[INFO][INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java-version) @ unifiedpush-admin-ui ---[INFO][INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-version) @ unifiedpush-admin-ui ---[INFO][INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-tools) @ unifiedpush-admin-ui ---[INFO][INFO] --- buildnumber-maven-plugin:1.2:create-timestamp (get-build-timestamp) @ unifiedpush-admin-ui ---[INFO][INFO] --- buildnumber-maven-plugin:1.2:create (get-scm-revision) @ unifiedpush-admin-ui ---[INFO][INFO] --- frontend-maven-plugin:0.0.16:install-node-and-npm (install node and npm) @ unifiedpush-admin-ui ---[INFO] Node v0.10.31 is already installed.[INFO] Found NPM version 1.4.23[INFO][INFO] --- frontend-maven-plugin:0.0.16:npm (npm install) @ unifiedpush-admin-ui ---[INFO] Running 'npm install --color=false' in C:\Users\Ivan\Documents\Aerogear projects\aerogear-unifiedpush-server-master\admin-ui[INFO] npm WARN unmet dependency C:\Users\Ivan\Documents\Aerogear projects\aerogear-unifiedpush-server-master\admin-ui\node_modules\grunt-bower-task\node_modules\bower\node_modules\request\node_modules\form-data requires mime@'~1.2.11' but will load[INFO] npm WARN unmet dependency undefined,[INFO] npm WARN unmet dependency which is version undefined[INFO][INFO] --- frontend-maven-plugin:0.0.16:grunt (grunt build) @ unifiedpush-admin-ui ---[INFO] Running 'grunt dist --no-color' in C:\Users\Ivan\Documents\Aerogear projects\aerogear-unifiedpush-server-master\admin-ui[INFO] Loading "bower_task.js" tasks...ERROR[INFO] >> Error: Cannot find module 'mime'[INFO] >> Local Npm module "grunt-cli" not found. Is it installed?[INFO] Warning: Task "bower:install" not found. Use --force to continue.[INFO][INFO] Aborted due to warnings.[INFO] ------------------------------------------------------------------------[INFO] Reactor Summary:[INFO][INFO] AeroGear UnifiedPush Server ........................ SUCCESS [ 2.020 s][INFO] UnifiedPush Model Layer ............................ SUCCESS [ 0.077 s][INFO] UnifiedPush Server Model API ....................... SUCCESS [ 2.958 s][INFO] UnifiedPush Server Model JPA implementation ........ SUCCESS [ 12.992 s][INFO] UnifiedPush Service Layer .......................... SUCCESS [ 17.831 s][INFO] UnifiedPush Sender Module .......................... SUCCESS [ 0.066 s][INFO] UnifiedPush Push Message Model ..................... SUCCESS [ 2.369 s][INFO] UnifiedPush Push Notification Networks ............. SUCCESS [ 3.585 s][INFO] UnifiedPush RESTful Endpoint ....................... SUCCESS [ 5.240 s][INFO] UnifiedPush Server (Admin UI) ...................... FAILURE [ 4.898 s][INFO] UnifiedPush Dependencies Parent .................... SKIPPED[INFO] UnifiedPush Server Dependencies Server ............. SKIPPED[INFO] UnifiedPush Auth Server ............................ SKIPPED[INFO] UnifiedPush Server for JBossAS (WAR) ............... SKIPPED[INFO] UnifiedPush Server for Wildfly (WAR) ............... SKIPPED[INFO] UnifiedPush Servers Parent ......................... SKIPPED[INFO] ------------------------------------------------------------------------[INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] Total time: 53.305 s[INFO] Finished at: 2015-02-23T13:01:24+01:00[INFO] Final Memory: 98M/635M[INFO] ------------------------------------------------------------------------[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.16:grunt (grunt build) on project unifiedpush-admin-ui: Failed to run task: 'grunt dist --no-color' failed. (error code 3) -> [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][ERROR] After correcting the problems, you can resume the build with the command[ERROR] mvn <goals> -rf :unifiedpush-admin-uiThanks for helpMgr. Ivan GürtlerMobile software developer
AHEAD iTec, s.r.o., Botanická 554/68a,
602 00 Brno (Czech Republic)
www.ahead-itec.com | twitter | mobile security solutions