docker / getting-started-todo-app

Sample application to get started with Docker
Apache License 2.0
23 stars 90 forks source link

File corruption #26

Closed AlhassaneDiawara closed 1 month ago

AlhassaneDiawara commented 1 month ago

Hello,

I tried to make a docker compose, and I received the following message:

image

Can you help me to solve the issue please ?

Thank you

Alhassane

ajeetraina commented 1 month ago

@AlhassaneDiawara Can you run the following command:

docker compose up -d --build

to see if that works. Also, what happens when you re-run the above command 2nd time? Do share your results.

AlhassaneDiawara commented 1 month ago

Hi @ajeetraina ,

I followed your instructions.

First, I did an npm install on each folders (Backend & Client). it seems that no vulnerabilities was found...see the printscreen below.

image

Then, I tried to compose again...but the issue is still the same...I do think I have issues with Yarn.

image

I tried first to work on the getting-started-todo-app from my professional laptop, and I had issues with TLS and Yarn (due to strong network security policy in my company), so I tried on my laptop 2 outside of the company's network....

ajeetraina commented 1 month ago

@AlhassaneDiawara Yes, it seems there's something to do with a corporate proxy preventing you from downloading external packages. Someone in the past reported the same issue.

AlhassaneDiawara commented 1 month ago

@ajeetraina I tried in emergency with a "home" network (from my phone...thank you 5G !), and it works !

image

I do think that the requests for updating the dependencies are impossible due to security policies in several companies. I will ask some informations to my IT team for a potential workaround.

Thank you for your help !

Alhassane