teambit / bvm

Bit version manager
Other
40 stars 13 forks source link

bvm install command is nearly unusable #74

Open darkyelox opened 1 year ago

darkyelox commented 1 year ago

Hi, I have faced this problem often on my system, the installation of the bit command is too slow, sometimes it took 20 minutes and others it just stuck and never ends and sometimes it just take hours to finish, in this example I'm trying to install it on a Docker container under node v16.

image

For testing I just created a Dockerfile, run it and then attach a shell for running the bvm install command manually.

FROM node:16-bullseye

RUN npm i -g @teambit/bvm

# RUN bvm install

ENTRYPOINT ["tail", "-f", "/dev/null"]

Is there a way to get the Bit executable manually? I just want it for my Dev Container in VSCode but this is a blocker, imagine running a dev container that tooks hours for start the first time.

GiladShoham commented 1 year ago

This is a network issue from your network against google bucket. for most users, it takes about a minute. anyway, we plan to improve it dramatically soon.

PaigeWhish commented 4 months ago

Hi. I'm another one of the non-"most users". In fact, I just can't use your product, no matter how great it is behind the bvm install "gate". Could you suggest some kind of workaround, please? I can't make my network more stable. And in any case BVM is the only one so sensitive. Everything else is working fine. I tried setting request settings (retries, timeouts...) in ~/.npmrc, hoping BVM would pick them up, but that didn't help.