The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

mchenini (32) [Avatar] Offline
#1
how to bypass the Elm install error shown below?

u1c332@plux0806:~/elm-platform-master/installers/npm> npm install -g elm
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
/home/u1c332/.npm-packages/bin/elm -> /home/u1c332/.npm-packages/lib/node_modules/elm/binwrappers/elm
/home/u1c332/.npm-packages/bin/elm-package -> /home/u1c332/.npm-packages/lib/node_modules/elm/binwrappers/elm-package
/home/u1c332/.npm-packages/bin/elm-make -> /home/u1c332/.npm-packages/lib/node_modules/elm/binwrappers/elm-make
/home/u1c332/.npm-packages/bin/elm-repl -> /home/u1c332/.npm-packages/lib/node_modules/elm/binwrappers/elm-repl
/home/u1c332/.npm-packages/bin/elm-reactor -> /home/u1c332/.npm-packages/lib/node_modules/elm/binwrappers/elm-reactor

> elm@0.18.0 install /home/u1c332/.npm-packages/lib/node_modules/elm
> node install.js

Error communicating with URL https://dl.bintray.com/elmlang/elm-platform/0.18.0/linux-x64.tar.gz Error: tunneling socket could not be established, cause=connect EINVAL 0.0.0.80:80 - Local (0.0.0.0:0)
npm ERR! Linux 3.0.101-94-default
npm ERR! argv "/home/u1c332/node-v6.10.2-linux-x64/bin/node" "/home/u1c332/node-v6.10.2-linux-x64/bin/npm" "install" "-g" "elm"
npm ERR! node v6.10.2
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! elm@0.18.0 install: `node install.js`
npm ERR! Exit status 1
16759 (1) [Avatar] Offline
#2
Use docker instead, works like a charm, can run elm 0.17 and 0.18 on the same machine:

https://hub.docker.com/r/codesimple/elm/