Closed ericbmerritt closed 5 years ago
Hi @ericbmerritt! Would it be possible to share a Dockerfile that replicates the issue?
Dockerfile and related stuff is located here: https://gitlab.com/metadrift/iogine/tree/feature/migrate-to-purescript/tooling.
You can pull the image directly here: https://gitlab.com/metadrift/iogine/container_registry. The tag is latest
@ericbmerritt I pulled the image (with docker pull registry.gitlab.com/metadrift/iogine/iogine-ci:latest
) but it doesn't have npm
nor spago
installed, in order to be able to replicate I'd need to know how you installed them
Also did you take a look at https://github.com/spacchetti/spago/issues/192?
Update: I built the image off your branch and installed spago
with npm install -g --unsafe-perm spago
, and I can replicate your issue, looking into it
@ericbmerritt works for me after apt install netbase
as per https://github.com/snoyberg/http-client/issues/292
I think this is solved, so I'll go ahead and mark this as a thing to document for the upcoming 0.8
That solved my problem. Thank you very much.
You're welcome! 🙂
I'll reopen this so we can mark it as fixed once we document it
Versions:
+ spago@0.7.7
+ purescript@0.12.5
Problem:
I am attempting to run
spago build
installed via npm inside of a container. When I do that on an empty project after runningspago init
I get the following error. The same command run on the host (mac osx) works fine. Also runningcurl https://raw.githubusercontent.com/purescript/package-sets/psc-0.12.5-20190427/src/mkPackage.dhall
in the host container works just fine. That seems to indicate that the problem lies in how spago is resolving the host.