[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 | Community
Skip to main content
May 9, 2024
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

  • May 9, 2024
  • 1 reply
  • 4360 views

Hello, 

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

 

 

 

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

EstebanBustamante
Community Advisor and Adobe Champion
EstebanBustamanteCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
May 9, 2024
May 10, 2024

Thanks Esteban, Its working