Git Product home page Git Product logo

Comments (8)

PssThemes avatar PssThemes commented on June 2, 2024 18

from @tino415 , on this issue
"""
I had same problem, but solved it by running

sudo npm install -g elm --unsafe-perm=true --allow-root

ubuntu 16.04
node -v v7.10.0
npm -v 5.3.0

"""

it worked for me, maybe helps someone ๐Ÿ˜„

from learn-elm.

lucymonie avatar lucymonie commented on June 2, 2024 5

After all that I tried npm install -g elm again and then npm install and this seems to have fixed it ๐Ÿ’›. An hour of my life I won't get back but at least it's not some horrible Ubuntu problem!

from learn-elm.

katbow avatar katbow commented on June 2, 2024 3

Got it installed now - it was an npm problem ๐Ÿ˜’

I'll still write up what I found in another md file that we can link to for installing on Ubuntu ๐Ÿ‘

from learn-elm.

lucymonie avatar lucymonie commented on June 2, 2024 2

Hey @katbow I would love your advice on this as I have been tearing my hair out with it this afternoon.

I'm also on Ubuntu. I thought I had Elm installed (I used npm install -g elm) but some syntax in elm-repl wasn't working (function syntax), so I figure I must have installed an old version. I followed the instructions on https://alphydan.svbtle.com/elm-lang-on-ubuntu-14-04 but it choked horribly so I've just uninstalled it all again. Any ideas?

from learn-elm.

katbow avatar katbow commented on June 2, 2024 1

@lucymonie Glad you got it solved! My specific issue was that I had recently wiped my computer and reinstalled everything, but I realised I didn't change my npm permissions. I watched this video and fixed them from there.

from learn-elm.

jruts avatar jruts commented on June 2, 2024 1

@katbow and @lucymonie , if you install node on your ubuntu machine with nvm you should not run into any npm permission issues.

So I am curious why you had to change your npm permissions?

from learn-elm.

iteles avatar iteles commented on June 2, 2024

@katbow I've never had to try this so I can't help with the long-windedness itself but I would suggest putting your updates into this repo, just in a separate md file that can be linked to from the main readme.

Seems like a pain!

from learn-elm.

SeanGallen avatar SeanGallen commented on June 2, 2024

@katbow I agree with @iteles. I found some info but warning it is long winded.

I did a little research on Elm's homepage, http://elm-lang.org/. It referred me to the source at https://github.com/elm-lang/elm-platform. Here I found the following statement.


First, if you are on Mac or Windows just looking to use Elm, definitely use the installers linked here. Do not put yourself through this process if you do not have to!

Second, if you are on some linux OS and just want to use Elm, use the npm installer.

Finally, if you have made it this far, you are in some unique position where the other options do not cover you for some reason. You are about to actually build from source. I recommend you read this whole section before you start running anything.


Before I jumped into any of that I would check everything else is working ok. (i.e. npm ). I hope it helps.

from learn-elm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.