Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm timeouts when trying to build the docker image for x86 #39

Open
Jack-Punter opened this issue May 10, 2024 · 2 comments
Open

npm timeouts when trying to build the docker image for x86 #39

Jack-Punter opened this issue May 10, 2024 · 2 comments

Comments

@Jack-Punter
Copy link

Trying to build the docker image for x86_64 and am seeing some errors in the dockerfile

6.5.0-28-generic #29-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 28 23:46:48 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

 => ERROR [build 4/6] RUN npm install                                                                        25.0s
------
 > [build 4/6] RUN npm install:
24.70 npm notice
24.70 npm notice New minor version of npm available! 10.5.0 -> 10.7.0
24.70 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.7.0>
24.70 npm notice Run `npm install -g [email protected]` to update!
24.70 npm notice
24.70 npm ERR! code ETIMEDOUT
24.70 npm ERR! syscall read
24.70 npm ERR! errno -110
24.70 npm ERR! network read ETIMEDOUT
24.70 npm ERR! network This is a problem related to network connectivity.
24.70 npm ERR! network In most cases you are behind a proxy or have bad network settings.
24.70 npm ERR! network
24.70 npm ERR! network If you are behind a proxy, please make sure that the
24.70 npm ERR! network 'proxy' config is set properly.  See: 'npm help config'
24.71
24.71 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-05-10T11_19_58_376Z-debug-0.log
@markmanx
Copy link
Owner

Seems like the error was due to a network connectivity issue @Jack-Punter which could be on your side, or could be a service glitch on npm's side. Would you mind trying to build the Docker image again with the current config, and seeing if you still run into this issue?

@Jack-Punter
Copy link
Author

Hmm looks like this is an issue on my end, on my main machine (wsl Ubuntu 23.10) it works fine on main, however trying to build the image on my proxmox Vm (Ubuntu 23.10) it has the above issues. Seems weird that it appears to be a network issue that's resolved by specifying a version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants