elm-lang / elm-package

Command line tool to share Elm libraries
BSD 3-Clause "New" or "Revised" License
214 stars 66 forks source link

package download faild when run `elm pakcage install` #190

Closed HairyRabbit closed 8 years ago

HairyRabbit commented 8 years ago
λ elm package install
Some new packages are needed. Here is the upgrade plan.

  Install:
    elm-lang/core 3.0.0

Do you approve of this plan? (y/n) y
Downloading elm-lang/core

Error: failed with 'InternalIOException Network.Socket.ByteString.recv: failed (No error)' when sending request to
    <http://github.com/elm-lang/core/zipball/3.0.0/>
λ elm package
elm package 0.16.0
#...

Anything help.

jvoigtlaender commented 8 years ago

What happens if you retry a few times?

HairyRabbit commented 8 years ago

@jvoigtlaender

Same result.

Sice I update 0.16 version a few days ago.

benjamin-bergia commented 8 years ago

Same issue here. Just installed elm using npm and I get exactly the same error.

HairyRabbit commented 8 years ago

@benjamin-bergia 应该是墙的问题,

binshuohu commented 8 years ago

@yuffiy I opened shadowsocks and turn the proxy mode into global, but I still get this error when trying to install elm package.

link89 commented 8 years ago

@bishophu @yuffiy : I think it is nothing to with network. You can download packages from browser, but it fails when using elm installer or even curl command.

HairyRabbit commented 8 years ago

@link89 :)

Replace https to http then rebuild elm-package source could work fine.

plz see #194