Skip to content

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

Open

Description

@Jack-Punter

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 npm@10.7.0` 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

Activity

  1. markmanx commented on May 15, 2024

    @markmanx
    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?

  2. Jack-Punter commented on May 15, 2024

    @Jack-Punter
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions