[INFO] --- frontend-maven-plugin:0.0.16:install-node-and-npm (install node and npm) @ realize-webapp-war --- [INFO] Node v7.4.0 is already installed. [INFO] Found NPM version 2.12.1 [INFO] Mismatch between found NPM version and required NPM version [INFO] Installing npm version 4.2.0 [INFO] Downloading NPM from http://registry.npmjs.org/npm/-/npm-4.2.0.tgz to /Users/usantsh/Programs/ole/export/home/apps/cgportal/usantsh/git/product/online-learning-exchange/components/ole-webapp/trunk/realize/npm.tar.gz [INFO] No proxy was configured, downloading directly [INFO] Extracting NPM files in node/ [INFO] Unpacking /Users/usantsh/Programs/ole/export/home/apps/cgportal/usantsh/git/product/online-learning-exchange/components/ole-webapp/trunk/realize/npm.tar.gz into /Users/usantsh/Programs/ole/export/home/apps/cgportal/usantsh/git/product/online-learning-exchange/components/ole-webapp/trunk/realize/node [INFO] Installed NPM locally. [INFO] [INFO] --- frontend-maven-plugin:0.0.16:npm (npm install) @ realize-webapp-war --- [INFO] Running 'npm install --color=false' in /Users/usantsh/Programs/ole/export/home/apps/cgportal/usantsh/git/product/online-learning-exchange/components/ole-webapp/trunk/realize [INFO] module.js:472 [INFO] throw err; [INFO] ^ [INFO] [INFO] Error: Cannot find module 'internal/fs' [INFO] at Function.Module._resolveFilename (module.js:470:15) [INFO] at Function.Module._load (module.js:418:25) [INFO] at Module.require (module.js:498:17) [INFO] at require (internal/module.js:20:19) [INFO] at evalmachine.:18:20 [INFO] at Object. (/Users/usantsh/Programs/ole/export/home/apps/cgportal/usantsh/git/product/online-learning-exchange/components/ole-webapp/trunk/realize/node/npm/node_modules/graceful-fs/fs.js:11:1) [INFO] at Module._compile (module.js:571:32) [INFO] at Object.Module._extensions..js (module.js:580:10) [INFO] at Module.load (module.js:488:32) [INFO] at tryModuleLoad (module.js:447:12) [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Pearson Online Learning Exchange Web Application Parent SUCCESS [2.754s] [INFO] Pearson Online Learning Exchange Baseline Data .... SUCCESS [2.832s] [INFO] Pearson OLE Rustici Integration ................... SUCCESS [10.688s] [INFO] Pearson OLE and Realize Common Backend Web Application SUCCESS [2:10.336s] [INFO] Pearson Online Learning Exchange Web Application .. SUCCESS [24.784s] [INFO] Pearson Realize Web Application ................... FAILURE [3.270s] [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: 2:55.603s [INFO] Finished at: Thu Feb 09 15:21:40 EST 2017 [INFO] Final Memory: 144M/982M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.16:npm (npm install) on project realize-webapp-war: Failed to run task: 'npm install --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 -rf :realize-webapp-war "/Users/usantsh/Programs/apache-maven-3.0.5/bin/mvn --settings /Users/usantsh/Programs/ole/export/home/apps/cgportal/usantsh/online-learning-exchange-config/shared-configs/maven_settings.xml -f /Users/usantsh/Programs/ole/export/home/apps/cgportal/usantsh/git/product/online-learning-exchange/components/ole-webapp/trunk/pom.xml -Ddist -Ditest clean install -Drequired.maven.version=3.0.5 -Drequired.jdk.version=1.8.0-65 " was not successful. Terminating /Users/usantsh/Programs/ole/export/home/apps/cgportal/usantsh/online-learning-exchange-config/ce-tools-scripts/project_build.sh. Correct the issue and please run again. FAILURE: ./project.sh build