Alec1
Cadet
Cadet
  • 962 Views

Chapter 8 Section 2 Guided Exercise Issue

Jump to solution

The execise start script creates and tries to start 2 pods, but the hello-server one does not start.  It gets an error.  Looking at the pod logs, I see the below error.

Alec1_0-1702413555210.png

 

 

1 Solution

Accepted Solutions
mecrobio
Flight Engineer
Flight Engineer
  • 683 Views

Hi @Alec1 

We just pushed a new classroom for this course.
The root cause of the problem was NPM not being able to write in the cache folder.
So we did a workaround in the Container files we use for the exercise apps

We tested the new classroom in production and everything is working as expected.

Thank you very much for your feedback, and sorry for any inconvenience!

 

View solution in original post

11 Replies
Wasim_Raja
Moderator
Moderator
  • 789 Views

@Alec1 Thanks for reaching out, this is a known issue and bug for this has already been logged.

@mecrobio Can you please help us here.

mecrobio
Flight Engineer
Flight Engineer
  • 776 Views

Hi,

The problem is a bug in NPM & the cache folder.
The same problem appeared in DO288. We found a solution for DO288, and we are trying to apply a similar fix for this app of DO188.

We will keep you posted.

 

Thank you!

Wasim_Raja
Moderator
Moderator
  • 771 Views

Thank you @mecrobio do let us know.

0 Kudos
Chetan_Tiwary_
Moderator
Moderator
  • 710 Views

Thanks for letting us know @mecrobio !

mecrobio
Flight Engineer
Flight Engineer
  • 684 Views

Hi @Alec1 

We just pushed a new classroom for this course.
The root cause of the problem was NPM not being able to write in the cache folder.
So we did a workaround in the Container files we use for the exercise apps

We tested the new classroom in production and everything is working as expected.

Thank you very much for your feedback, and sorry for any inconvenience!

 

Chetan_Tiwary_
Moderator
Moderator
  • 681 Views

@mecrobio Thank you so much for the swift reponse. 

0 Kudos
Wasim_Raja
Moderator
Moderator
  • 670 Views

Thank you @mecrobio for the quick resolution. Have a good day!!

0 Kudos
Adolph
Cadet
Cadet
  • 504 Views

Hi, it looks like I am still having this error:

I get "Your cache folder contains root-owned files, due to a bug in  previous versions of npm"

Hello-server will not start

mecrobio
Flight Engineer
Flight Engineer
  • 486 Views

Hi @Adolph,

Have you tried in a fresh classroom by recreating the whole lab environment? We just tested again the exercise in a new lab environment, and it works as expected.

 

Join the discussion
You must log in to join this conversation.