Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges


Failed to run task: 'npm run prod' failed


Level 4

I'm going through the instructions on this page ( and successfully installed AEM 6.5.12 local author and publish instances, but I get the following error when trying to add the WKND site (😞


[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.12.0:npm (npm run prod) on project aem-guides-wknd.ui.frontend: Failed to run task: 'npm run prod' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]


Here are my versions:

Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
Maven home: C:\Users\<my username>\apache-maven-3.8.1\bin\..
Java version: 11.0.11, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-11.0.11
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"


java 11.0.11 2021-04-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.11+9-LTS-194)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.11+9-LTS-194, mixed mode)


Here is the part of the parent pom.xml that references "frontend":


        <componentGroupName>WKND Sites Project</componentGroupName>
                            <id>install node and npm</id>
                            <id>npm install</id>


1 Accepted Solution


Correct answer by
Level 10
1 Reply


Correct answer by
Level 10