devbox icon indicating copy to clipboard operation
devbox copied to clipboard

[Bug]: Error after "devbox add" (using docker jetpackio/devbox)

Open spe888 opened this issue 2 years ago • 5 comments
trafficstars

Current Behavior (bug) Docker Version: 24.0.6 OS: Sonoma 14.0 Macbook Pro (Apple M1 Pro)

Steps to reproduce:

  1. Use the offical jetpackio devbox image (https://hub.docker.com/r/jetpackio/devbox)
  2. devbox init
  3. devbox add awscli # or any other package
  4. the package is installing, but afterwards the process hangs
  5. Results in the error message below
build_node         > [1/1] awscli@latest: Success
build_node         > still running...
build_node         > still running...
build_node         > still running...
build_node         >
build_node         > Error: There was an error installing nix packages
build_node         > source: Command: /home/devbox/.nix-profile/bin/nix print-dev-env /gcl-builds/devbox-test/.devbox/gen/flake --extra-experimental-features ca-derivations --option experimental-features nix-command flakes fetch-closure --json: exit status 1
build_node         >
build_node         > Error: There was an internal error. Run with DEVBOX_DEBUG=1 for a detailed error message, and consider reporting it at https://github.com/jetpack-io/devbox/issues
build_node         finished in 53 s  FAIL 1

Expected Behavior (fix) Simply installing devbox packages should work with the docker image of jetpackio.

Additional context devbox version: 0.7.1 contents of devbox.json: empty project (therefore: devbox init)

spe888 avatar Nov 02 '23 16:11 spe888