elm-lang / elm-platform

Bundle of all core development tools for Elm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npm installer index.js root variable is hard-coded

gkamperis opened this issue · comments

commented

Hi,

npm>installers>index.js
has the bellow hard coded
var root = "https://github.com/elm-lang/elm-platform/releases/download/" + binVersion + "-exp/elm-platform";

If for any reason the gzs are in a different location then the install will fail.
Or to put it in another way there is no way to configure where the gzs can come from.
(for example within an organisation that blocks external access)

Is it possible the change the script to accept the location as a config param?
Something like node_sass does that allows configuration of the location of the binaries.

Thanks