cuducos / my-internet-speed

🛎️ Monitor the speed your ISP is delivering
GNU General Public License v3.0
135 stars 13 forks source link

Problem with Elm in Raspberry Pi #11

Open nicolastarzia opened 6 years ago

nicolastarzia commented 6 years ago

The dashboard container doesn't build on Raspberry Pi.

See the log bellow:

    > node install.js

    Unfortunately, there are currently no Elm Platform binaries available for your operating system and architecture.

    If you would like to build Elm from source, there are instructions at https://github.com/elm-lang/elm-platform#build-from-source

    npm WARN This failure might be due to the use of legacy binary "node"
    npm WARN For further explanations, please read
    /usr/share/doc/nodejs/README.Debian

I saw that Daniel had this problem too, dev.to.

cuducos commented 6 years ago

Using danielkun/elm-raspbian-arm32v7's image sounds good, but I couldn't find his Dockerfile to check there's nothing necessary out there. So I'd follow the part of the post focused on building Elm locally. Next round I can give it a try.

lipemorais commented 6 years ago

@cuducos I guess this is the Dockerfile https://github.com/daniel-kun/docker-rpi-images/blob/master/rpi-raspbian-elm/Dockerfile

nicolastarzia commented 6 years ago

I cannot start the danielkun Dockerfile because don't use elm-app package. When I try to install elm-app package, didn't found NPM 😞, there is another option to use elm-app? Excuse me to ask a simple question... If I want to use Elm, Node it's a prerequisite?

cuducos commented 6 years ago

If I want to use Elm, Node it's a prerequisite?

It's the most common way of installing Elm, but not a requirement.

What do you mean by elm-app package? Would you mind clarifying?