Code Monkey home page Code Monkey logo

Comments (8)

loreto avatar loreto commented on July 17, 2024 7

It is installing, and it will complete... the first time nix run takes a while because it installs a bunch of dependencies for the first time.

We'll address by giving an idea of progress in the terminal.

from devbox.

loreto avatar loreto commented on July 17, 2024 2

OK, I'm closing this issue because I think we addressed the most important bottlenecks. But feel free to open a new issue if you're seeing other problems related to speed.

@adrianhopebailie I opened this issue: #22 to track your idea of having a devbox install

from devbox.

datashaman avatar datashaman commented on July 17, 2024

I've tried installing various tools. As you say, it just hangs there. Is it doing anything? There are no options for debugging or logging on the CLI. It appears not to work at all.

On Mac:

~ nix-env --version
nix-env (Nix) 2.10.3
~ Docker --version
Docker version 20.10.17, build 100c701

from devbox.

adrianhopebailie avatar adrianhopebailie commented on July 17, 2024

What about a command to explicitly install dependancies without spawning the shell?

devbox install

from devbox.

carlthome avatar carlthome commented on July 17, 2024

This was pretty confusing UX to me too in my test spin unfortunately. At least with nix build and nix shell I'm getting a lot of helpful progress bars for binary cache downloads and compiling. Staring at a devbox shell having no insight into how long it will take or if it's even doing anything is a pretty bad onboarding experience TBH.

from devbox.

acheong08 avatar acheong08 commented on July 17, 2024

How long should devbox shell be running for? I have extremely slow internet and it's been running for two hours already...

from devbox.

loreto avatar loreto commented on July 17, 2024

How long should devbox shell be running for? I have extremely slow internet and it's been running for two hours already...

Wow, that's definitely too long. This is the top issue we're working on – I'll circle back with an update later today.

from devbox.

loreto avatar loreto commented on July 17, 2024

OK, folks, we just released a new version of devbox that should address some of these concerns. If you installed via our install script, you should get the new version automatically next time you run the binary.

We did two changes:

  1. We now fetch nix packages via a tarball, which is faster than the previous git-based approach.
  2. We now print to the console explaining we are setting up nix. For now it's just a single line that we print, but over-time we'll make it a more sophisticated progress bar.

from devbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.