I had a docker that used the command : [node_modules_prod 4/4] RUN --mount=type=cache,target=~/.npm npm ci --omit=dev
6 days ago everything worked perfectly and the build was successful. Today I tried and every time on this command, it hangs, it seems to be done only instead of a couple of seconds it can take 30 minutes and not finish. I tried reinstalling Docker, updated npm to the latest version, deleted node modiles and installed dependencies in the project again, but nothing helps. Where else can I look for the cause?
I haven't installed any new dependencies in the project for 6 days, I cleared the Docker cache, and I also cleared NPM with Force
Version: npm global 10.2.3 , node v18.19.0 , docker 4.34.3
my package-json:
I had a docker that used the command :
[node_modules_prod 4/4] RUN --mount=type=cache,target=~/.npm npm ci --omit=dev
6 days ago everything worked perfectly and the build was successful. Today I tried and every time on this command, it hangs, it seems to be done only instead of a couple of seconds it can take 30 minutes and not finish. I tried reinstalling Docker, updated npm to the latest version, deleted node modiles and installed dependencies in the project again, but nothing helps. Where else can I look for the cause?I haven't installed any new dependencies in the project for 6 days, I cleared the Docker cache, and I also cleared NPM with Force Version: npm global 10.2.3 , node v18.19.0 , docker 4.34.3 my package-json:
My Docker: