Offline packages. #3711
-
I am sometimes at a place where i can not access the internet. I found (1) https://hexdocs.pm/hex/Mix.Tasks.Hex.Registry.html I made a local registry as in (1) at port 443 and set HEX_MIRROR to localhost as in (2) but it did not work. I also tried using /etc/hosts to set repo.hex.pm to 127.0.0.1. I will transfer the logs later for the /etc/hosts attempt. The main issue is using gleam while offline. There are multiple possible solutions like using the cache as a fallback, or supporting changing the repo access url. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
DEBUG download_deps: locking_build_directory path="/home/bobjoe/building/gleam/off_test/build/packages" An error occurred while determining what dependency packages and Unable to determine package versions: error sending request for url |
Beta Was this translation helpful? Give feedback.
-
There's an issue for this here: #2162 |
Beta Was this translation helpful? Give feedback.
There's an issue for this here: #2162