Skip to content
This repository was archived by the owner on Aug 23, 2018. It is now read-only.
This repository was archived by the owner on Aug 23, 2018. It is now read-only.

elm package install fails in vagrant ssh #115

Open
@b1collector

Description

@b1collector

When attempting to run elm package install for the first time on a project I received the following error

Error: failed with 'FailedConnectionException "codeload.github.com" 443' when sending request to
    <http://github.com/elm-lang/core/zipball/2.1.0/>

I found a similar issue at https://groups.google.com/forum/#!topic/elm-discuss/I6TUhuBRcMI. The suggest provided works; if I load the box through VirtualBox and run the same command, everything runs smoothly.

Elm Platform: 0.15.1
Vagrant: 1.6.5
Host: Debian 8.1
Vagrant Provider: VirtualBox 4.3.1.8_Debian r96516
Vagrant File:

# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure("2") do |config|

    hostname = "elm.box"
    locale = "en_US.UTF.8"

    # Box
    config.vm.box = "ubuntu/vivid64"

    # Shared folders
    config.vm.synced_folder ".", "/srv"

    # Setup
    config.vm.provision :shell, :inline => "touch .hushlogin"
    config.vm.provision :shell, :inline => "hostnamectl set-hostname #{hostname} && locale-gen #{locale}"
    config.vm.provision :shell, :inline => "apt-get update --fix-missing"
    config.vm.provision :shell, :inline => "apt-get install -q -y g++ make git curl vim"

    # Lang
    config.vm.provision :shell, :inline => "apt-get install -q -y nodejs-legacy"
    config.vm.provision :shell, :inline => "apt-get install -q -y npm"
    config.vm.provision :shell, :inline => "npm install --global elm"

    # VirtualBox
    config.vm.provider "virtualbox" do |v|
       v.memory = 1024
    end
end

p.s. A big thank you to anyone developing or promoting Elm. It is by far the most fun language I have ever used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions