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
BedrockMission!

Learn More

View all

Sign in to view all badges

M1 Mac, cant build wknd tutorial, get "Could not download Node.js: Got error code 404 from the server."

Avatar

Avatar
Boost 1
Level 1
nutmix5
Level 1

Like

1 like

Total Posts

3 posts

Correct Reply

1 solution
Top badges earned
Boost 1
Affirm 1
View profile

Avatar
Boost 1
Level 1
nutmix5
Level 1

Like

1 like

Total Posts

3 posts

Correct Reply

1 solution
Top badges earned
Boost 1
Affirm 1
View profile
nutmix5
Level 1

08-03-2021

downloaded source zip from here: https://github.com/adobe/aem-guides-wknd/releases/tag/aem-guides-wknd-0.2.0

 

[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.7.6:install-node-and-npm (install node and npm) on project aem-guides-wknd.ui.frontend: Could not download Node.js: Got error code 404 from the server. -> [Help 1]

 

Have following installed:

Java 11

node v15.0.0

mvn 3.6.3

npm 7.6.0

 

Im doing this from zsh.  Tried bash also.  Is it because its not X86 arch on the M1 mac?

 

I also tried changing node to the latest in the pom file:

 

<nodeVersion>v11.14.0</nodeVersion>
<npmVersion>7.6.0</npmVersion>
 
This didnt help

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 1
Level 1
nutmix5
Level 1

Like

1 like

Total Posts

3 posts

Correct Reply

1 solution
Top badges earned
Boost 1
Affirm 1
View profile

Avatar
Boost 1
Level 1
nutmix5
Level 1

Like

1 like

Total Posts

3 posts

Correct Reply

1 solution
Top badges earned
Boost 1
Affirm 1
View profile
nutmix5
Level 1

09-03-2021

I found the solution.  The fontend-maven-plugin is old, and doesnt support the newer chips.

 

The solution was to change its version to 1.11:

 

<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>1.11.0</version>

 

Lets hope someone from Adobe updates their wknd source before too many people hit the same problem.

Answers (1)

Answers (1)

Avatar

Avatar
Establish
MVP
Anudeep_Garnepudi
MVP

Likes

274 likes

Total Posts

320 posts

Correct Reply

87 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile

Avatar
Establish
MVP
Anudeep_Garnepudi
MVP

Likes

274 likes

Total Posts

320 posts

Correct Reply

87 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
Anudeep_Garnepudi
MVP

08-03-2021

@nutmix5 

Check frontend-maven-plugin configuration. Try  accessing node version <nodeVersion>v10.13.0</nodeVersion> from https://nodejs.org/dist/v10.13.0/ . Try to build as admin.