Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.12.0:install-node-and-npm (install node and npm) on project demo-project.ui.frontend: Could not download Node.js from: https://nodejs.org/dist/v21.5.0/win-x64/node.exe: Could not do

Avatar

Level 1

Hello, 

I am trying to create a AEM Maven archetype project. When I run the build it shows below error.\

 

error.png

 

 

I have also included my parent pom.xml related to this:-

 

<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>${frontend-maven-plugin.version}</version>
<configuration>
<nodeVersion>v21.5.0</nodeVersion>
<npmVersion>10.2.4</npmVersion>
</configuration>
<executions>
<execution>
<id>install node and npm</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
</execution>
<execution>
<id>npm install</id>
<goals>
<goal>npm</goal>
</goals>
</execution>
</executions>
</plugin>

 

Have install node.js :- v21.5.0

                   npm -v :- 10.2.4

 

 

@pkadhatia @srinuDyadav @BrianKasingli 

 

 

Thanks in advance

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
2 Replies

Avatar

Correct answer by
Community Advisor