[INFO] common install stderr: npm ERR! tar pack Error reading /fs/oleshare/git/product/online-learning-exchange/components/ole-webapp/trunk/realize/src/main/webapp/e2e [INFO] npm ERR! addLocalDirectory Could not pack /fs/oleshare/git/product/online-learning-exchange/components/ole-webapp/trunk/realize/src/main/webapp/e2e to /root/.npm/e2e/1.0.0/package.tgz [INFO] npm ERR! addLocal Could not install /fs/oleshare/git/product/online-learning-exchange/components/ole-webapp/trunk/realize/src/main/webapp/e2e [INFO] [INFO] [16:53:46] Finished 'build:studentCenters' after 1.68 min [INFO] [16:53:46] Finished 'build:elContentViewer' after 1.68 min [INFO] common install stderr: npm ERR! Linux 4.8.12-moby [INFO] npm ERR! argv "/fs/oleshare/git/product/online-learning-exchange/components/ole-webapp/trunk/realize/node/node" "/root/.nvm/versions/node/v7.4.0/bin/npm" "install" [INFO] npm ERR! node v7.4.0 [INFO] npm ERR! npm v4.2.0 [INFO] [INFO] common install stderr: npm ERR! path /fs/oleshare/git/product/online-learning-exchange/components/ole-webapp/trunk/realize/src/main/webapp/e2e/node_modules [INFO] npm ERR! code ENOENT [INFO] npm ERR! errno -2 [INFO] npm ERR! syscall lstat [INFO] [INFO] npm ERR! enoent ENOENT: no such file or directory, lstat '/fs/oleshare/git/product/online-learning-exchange/components/ole-webapp/trunk/realize/src/main/webapp/e2e/node_modules' [INFO] npm ERR! enoent ENOENT: no such file or directory, lstat '/fs/oleshare/git/product/online-learning-exchange/components/ole-webapp/trunk/realize/src/main/webapp/e2e/node_modules' [INFO] npm ERR! enoent This is most likely not a problem with npm itself [INFO] npm ERR! enoent and is related to npm not being able to find a file. [INFO] npm ERR! enoent [INFO] [INFO] common install stderr: [INFO] npm ERR! Please include the following file with any support request: [INFO] npm ERR! /root/.npm/_logs/2017-06-30T16_54_11_724Z-debug.log [INFO] [INFO] common install child process exited with code 254 [INFO] (node:2376) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): ChildProcessError: `npm install` failed with code 254 [INFO] (node:2376) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. [INFO] [16:55:06] Finished 'build:realize' after 3.02 min [INFO] [16:55:06] Starting 'test:realize'... [INFO] WARN `start` method is deprecated since 0.13. It will be removed in 0.14. Please use [INFO] server = new Server(config, [done]) [INFO] server.start() [INFO] instead. [INFO] 30 06 2017 16:55:15.112:INFO [karma]: Karma v1.7.0 server started at http://0.0.0.0:9876/ [INFO] 30 06 2017 16:55:15.118:INFO [launcher]: Launching browser PhantomJS with unlimited concurrency [INFO] 30 06 2017 16:55:15.143:INFO [launcher]: Starting browser PhantomJS [INFO] 30 06 2017 16:55:16.803:INFO [PhantomJS 2.1.1 (Linux 0.0.0)]: Connected on socket W8TOpISuRKWpF5Y6AAAA with id 28918983 [INFO] PhantomJS 2.1.1 (Linux 0.0.0) ERROR [INFO] TypeError: undefined is not an object (evaluating 'a.ui.mouse') [INFO] at target/realize/realizeit/lib/realize-libs-jq.js:9639 [INFO] [INFO] Finished in 2.361 secs / 0 secs [INFO] [INFO] SUMMARY: [INFO] ✔ 0 tests completed [INFO] [16:55:19] 'test:realize' errored after 13 s [INFO] [16:55:19] Error: 1 [INFO] at formatError (/fs/oleshare/git/product/online-learning-exchange/components/ole-webapp/trunk/realize/node_modules/gulp/bin/gulp.js:169:10) [INFO] at Gulp. (/fs/oleshare/git/product/online-learning-exchange/components/ole-webapp/trunk/realize/node_modules/gulp/bin/gulp.js:195:15) [INFO] at emitOne (events.js:96:13) [INFO] at Gulp.emit (events.js:188:7) [INFO] at Gulp.Orchestrator._emitTaskDone (/fs/oleshare/git/product/online-learning-exchange/components/ole-webapp/trunk/realize/node_modules/gulp/node_modules/orchestrator/index.js:264:8) [INFO] at /fs/oleshare/git/product/online-learning-exchange/components/ole-webapp/trunk/realize/node_modules/gulp/node_modules/orchestrator/index.js:275:23 [INFO] at finish (/fs/oleshare/git/product/online-learning-exchange/components/ole-webapp/trunk/realize/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8) [INFO] at cb (/fs/oleshare/git/product/online-learning-exchange/components/ole-webapp/trunk/realize/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3) [INFO] at removeAllListeners (/fs/oleshare/git/product/online-learning-exchange/components/ole-webapp/trunk/realize/node_modules/karma/lib/server.js:380:7) [INFO] at Server. (/fs/oleshare/git/product/online-learning-exchange/components/ole-webapp/trunk/realize/node_modules/karma/lib/server.js:391:9) [INFO] at Object.onceWrapper (events.js:290:19) [INFO] at emitNone (events.js:91:20) [INFO] at Server.emit (events.js:185:7) [INFO] at emitCloseNT (net.js:1544:8) [INFO] at _combinedTickCallback (internal/process/next_tick.js:71:11) [INFO] at process._tickCallback (internal/process/next_tick.js:98:9) [INFO] [INFO] [16:55:22] Finished 'jsCodeQuality:Realize' after 3.27 min [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Pearson Online Learning Exchange Web Application Parent SUCCESS [ 14.160 s] [INFO] Pearson Online Learning Exchange Baseline Data ..... SUCCESS [ 12.195 s] [INFO] Pearson OLE Rustici Integration .................... SUCCESS [ 46.322 s] [INFO] Pearson OLE and Realize Common Backend Web Application SUCCESS [11:20 min] [INFO] Pearson Online Learning Exchange Web Application ... SUCCESS [01:38 min] [INFO] Pearson Realize Web Application .................... FAILURE [05:22 min] [INFO] Pearson Online Learning Exchange Web Application Distribution Package SKIPPED [INFO] Pearson Realize Web Application Distribution Package SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 19:40 min [INFO] Finished at: 2017-06-30T16:55:22+00:00 [INFO] Final Memory: 139M/1551M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.pearson.maven.plugins:frontend-maven-plugin:1.0.0:gulp (gulp full-build) on project realize-webapp-war: Failed to run task: 'gulp full-build --no-color' 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 -rf :realize-webapp-war