Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

npm install error while doing clean install to build and deploy the WNKD project to AEM

Avatar

Level 4

Hi,

following https://docs.adobe.com/content/help/en/experience-manager-learn/getting-started-wknd-tutorial-develo...

I am getting below error while doing the cleaninstall to build and deploy the WKND project to AEM:

below is the error log

 

[INFO] [INFO] --- frontend-maven-plugin:1.7.6:npm (npm install) @ aem-guides-wknd.ui.frontend --- [INFO] Running 'npm install' in C:\Users\arunk\Desktop\Adobe\AEM6.5\AEM6.5\WKND\aem-guides-wknd\ui.frontend [WARNING] npm WARN deprecated tslint-webpack-plugin@2.1.0: Due to tslint being deprecated, this plugin is now also deprecated. Please consider switching to eslint. [WARNING] npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 [WARNING] npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated [WARNING] npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated [ERROR] npm ERR! Unexpected end of JSON input while parsing near '...:"^0.7.8","ts-loader"' [ERROR] [ERROR] npm ERR! A complete log of this run can be found in: [ERROR] npm ERR! C:\Users\arunk\AppData\Roaming\npm-cache\_logs\2020-05-07T02_23_39_726Z-debug.log [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for aem-guides-wknd 0.0.1-SNAPSHOT: [INFO] [INFO] aem-guides-wknd .................................... SUCCESS [ 1.748 s] [INFO] WKND Sites Project - Core .......................... SUCCESS [ 27.164 s] [INFO] WKND Sites Project - UI Frontend ................... FAILURE [ 24.250 s] [INFO] WKND Sites Project - Repository Structure Package .. SKIPPED [INFO] WKND Sites Project - UI apps ....................... SKIPPED [INFO] WKND Sites Project - UI content .................... SKIPPED [INFO] WKND Sites Project - All ........................... SKIPPED [INFO] WKND Sites Project - Integration Tests Bundles ..... SKIPPED [INFO] WKND Sites Project - Integration Tests Launcher .... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 58.505 s [INFO] Finished at: 2020-05-06T22:23:40-04:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.7.6:npm (npm install) on project aem-guides-wknd.ui.frontend: Failed to run task: 'npm install' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]

 

 

thanks Community

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
1 Reply

Avatar

Correct answer by
Community Advisor