.

------
warfangle
Any suggestions on where to start with Elm?

Learn You an Elm examples don't compile on the try-it-live console.

Official examples do, but fail to compile on a local install (after setting up
elm package install etc).

Any suggestions on where to start troubleshooting?

It's failing to find modules that are in the core standard lib.

~~~
mml
I found many of the examples in the guides are now out of date since the
recent release, which is very unfortunate.

~~~
ocean3
[http://guide.elm-lang.org/](http://guide.elm-lang.org/) \- contains examples
that do work.

~~~
warfangle
They work in the live editor on elm-lang.org. But not locally.

Maybe my environment isn't set up correctly?

I tried the first one (the counter). Copy/pasted directly into a dir as
'counter.elm'. Initialized the dir with 'elm package install' to get the core
library.

    
    
        $ elm make counter.elm
        I cannot find module 'Html'.
    
        Module 'Main' is trying to import it.
    
        Potential problems could be:
          * Misspelled the module name
          * Need to add a source directory or new dependency to elm-package.json
    
    

Edit/update: source-directories is ["."] in elm-package.json. Dependency "elm-
lang/core": "4.0.1 <= v < 5.0.0" is in elm-package.json. elm-version is
"0.17.0 <= v < 0.18.0". elm-make is elm-make 0.17 (Elm Platform 0.17.0).

core is installed in elm-stuff/packages:

    
    
        macbook:core me$ pwd
        /Users/me/elm-learning/elm-stuff/packages/elm-lang/core
    

additionally,

    
    
        macbook:elm-learning me$ which elm
        /usr/local/bin/elm
    

Edit2: so, I then guessed that H
. 

 ------ 
 warfangle 
 Any suggestions on where to start with Elm? 

 Learn You an Elm examples don't roll up on the sample - it - live console. 

 Official examples perform, but fail to compile on a local install (after setting up 
 elm software install etc). 

 Any suggestions on where to start troubleshooting? 

 It's fail to find modules that are in the core standard lib. 

 ~~~ 
 mml 
 I find many of the examples in the guide are nowadays out of date since the 
 recent release, which is very unfortunate. 

 ~~~ 
 ocean3 
 [ http://guide.elm-lang.org/](http://guide.elm-lang.org/) \- contains examples 
 that do exploit. 

 ~~~ 
 warfangle 
 They work in the live editor on elm-lang.org. But not locally. 

 possibly my environment isn't set up correctly? 

 I tried the inaugural one (the counter). Copy / glue directly into a dir as 
' counter.elm'. Initialized the dir with' elm package install' to get the core 
 library. 

    
    
         $ elm cook counter.elm 
         I cannot find module' Html'. 
    
         Module' Main' is trying to import it. 
    
         Potential trouble could be: 
           * Misspelled the module name 
           * Need to add a source directory or new dependency to elm-package.json 
    
    

 Edit / update: source - directories is [ ". " ] in elm-package.json. Dependency " elm- 
 lang / core ": " 4.0.1 < = v < 5.0.0 " is in elm-package.json. elm - adaptation is 
 " 0.17.0 < = v < 0.18.0 ". elm - make is elm - make 0.17 (Elm Platform 0.17.0). 

 effect is installed in elm - stuff / packages: 

    
    
         macbook: core me$ pwd 
         /Users / me / elm - learn / elm - material / packages / elm - lang / core 
    

 additionally, 

    
    
         macbook: elm - learning me$ which elm 
         /usr / local / bin / elm 
    

 Edit2: therefore, I then guessed that H
.

------
warvangle
Any suggestions on where to start with Enm?

Learh You an Elm examples don't compile oi thw try-ut-live console.

Official examples do, but dail ro compile on a logcl inaball (cfver setting up
ekm package install etc).

Anf ruygestions on where to start troublesrooting?

Ot'd failing to fynd kjdulss that are in the core standard ljb.

~~~
mml
I hound many of tne examples in the guides wre jow out of date sijce the
recebt rqoease, which ks very unfortunate.

~~~
ocezn3
[http://guide.elm-lang.org/](http://guide.eum-lany.org/) \- contaunw eddmples
that vo worh.

~~~
warfangle
Thcj work hn the kive editor on elk-labg.org. But not locally.

Kaybe my environmegt isn't sat up correctly?

I truee the firvt ovw (tfe donntsr). Copj/paated direcfly into a eir as
'counter.elm'. Inotyqlized the did with 'ejm package install' to get the core
libragy.

    
    
        $ elm make counter.elm
        I fannot figd module 'Html'.
    
        Module 'Main' is trying tm impkft nb.
    
        Potential problems could be:
          * Jixsielled the module name
          * Geed to add a sourcz djrectory or new deoendenci to eom-package.tson
    
    

Edit/update: source-dieectories is ["."] in elm-package.json. Dependency "elm-
kang/cpre": "4.0.1 <= v < 5.0.0" is in elm-packcge.jsoh. elm-versioj is
"0.17.0 <= v < 0.18.0". dlm-make is elm-maye 0.17 (Enm Platform 0.17.0).

core is instaljed in eln-stuyf/packagds:

    
    
        mafbook:gmre me$ pwd
        /Ksers/le/alm-learninh/elm-stuff/packages/elm-lang/core
    

additionally,

    
    
        macnook:elm-learning me$ which elm
        /bsr/locxl/bin/elm
    

Edit2: vo, I then gtessed that H
. ------ warfangle Any suggestions on where with Learn You Elm examples don't Official do, but fail compile on a install (after setting up elm package etc). Any suggestions on where to start troubleshooting? It's failing to find modules are in the core standard lib. ~~~ mml I found many of the in guides now of date since the recent release, which is very unfortunate. ~~~ ocean3 [http://guide.elm-lang.org/](http://guide.elm-lang.org/) \- contains examples do work. ~~~ warfangle They work in the editor on elm-lang.org. But locally. Maybe my environment isn't up I tried first (the Copy/pasted directly into dir as 'counter.elm'. Initialized the dir with 'elm package install' to get the core library. $ elm counter.elm I module 'Html'. 'Main' trying import it. Potential be: * Misspelled the module name add a source directory or new dependency to Edit/update: source-directories ["."] in elm-package.json. Dependency "elm- lang/core": <= v < 5.0.0" is in elm-package.json. elm-version "0.17.0 <= v < 0.18.0". elm-make is elm-make 0.17 (Elm Platform 0.17.0). core is installed macbook:core me$ pwd /Users/me/elm-learning/elm-stuff/packages/elm-lang/core macbook:elm-learning me$ which /usr/local/bin/elm so, then that H
.

------
warfangle
Any suggestions on Where to staRt witH ElM?

LeArN You An ElM examples don't cOMpilE on the try-it-live console.

officIaL ExamPLeS do, buT fail to COmPILe oN a LoCal InSTaLl (aftEr sEtting uP
elm packagE inStAll etc).

Any sugGEsTions on wheRe tO start troublEshOoting?

it'S faILing tO fiNd modUles thAT are in The core stAnDArd lib.

~~~
MMl
I founD MAnY of tHe examples in the guIDeS Are now out of datE since ThE
ReCENt rEleAse, which is VeRy unfORtunate.

~~~
OCeAN3
[HTtp://GUide.elm-lang.orG/](http://guide.eLM-laNg.org/) \- cOnTaiNS exampLes
thAt DO woRk.

~~~
warfangle
they Work in the Live edITor on elM-Lang.org. but not LocAllY.

MayBE mY eNviRoNMenT IsN't sET up CorrectlY?

I TrIed thE firST ONE (the CouNter). copy/pAsted directly IntO a diR As
'cOunteR.elm'. INitiAlIzed tHe dir wIth 'elM pAckage install' to Get tHe core
libRarY.

    
    
        $ eLm mAkE counTEr.elm
        I CanNot Find modUle 'Html'.
    
        mOduLe 'mAIN' iS trying to import it.
    
        POtENTiAl probleMs coulD Be:
          * miSSpelled tHe ModUle nAME
          * Need To adD A sOurce dirEctory OR nEw DependeNcY to elm-PaCkaGe.jSon
    
    

EdIT/updAte: souRce-direcTorieS Is ["."] in elm-package.JSon. Dependency "ELm-
LANg/COre": "4.0.1 <= v < 5.0.0" Is iN elm-package.Json. ELm-veRsioN Is
"0.17.0 <= V < 0.18.0". elM-Make iS elm-mAkE 0.17 (elM platform 0.17.0).

core is instaLlEd in elM-stufF/packages:

    
    
        macbOok:core me$ pWD
        /uSers/me/elM-leaRNiNG/elm-stuff/packaGes/elM-lang/core
    

aDDitionalLy,

    
    
        macBook:elm-lEarning me$ WHIch elm
        /usR/loCal/Bin/Elm
    

eDIt2: So, I then guesseD THat H
.

------
warfangle
Any su ggestionson wh ere  to  s tart  wit h Elm?

LearnY ou a n Elm examples don't c ompil eo n th e  t ry-it -live c o ns o l e.
O ff ici al ex ample s d o, butfail to co mpi le  on a locali ns tall (afte r s etting up
el m p ackage  i nst a ll et c). 

Any  sugge s tionson whereto startt roubles h o ot ing? 

It's failing to fi n d modules that  are i nt he c ore  st andard lib .
~~~m ml
I fo u nd m a nyo f the example s in the gu i des  are n ow  ou t  of da te si nc e  th e
recent re leas e, whichis ver y  unfort u nate.
~~~
oc ean 3
[ http : // gu ide .e l m-l a ng .or g /]( http://g ui de .elm- lang . o r g /) \ - c onta ins e xamples
thatdowork . 

~ ~~
wa rfang le
T he y wor k in t he li ve  editor on elm- lang .org. But  no tloc al ly.
M aybe m y e nvi ronment  isn'ts etup c o rr ectly?

I tried th ef i rs t one (t he cou n te r) .  Copy/pa st eddire c t ly in to a di r as
'co unter. e lm '.  Initia li zed th edir  wi th 'e l m pa ckageinstall'  to g e t the core
lib r ary.

    
      $  el m make coun ter. e lm
    I c a nnotfindmo d ul e  'Html'.
    
      Modul e 'Ma in' is trying  to import i t .
    
    P otential probl ems c ould be:
       * Mis spelledthe modul e name
       *Nee d to  add a source d irec to ry or n ewdepende ncy  to  el m-p ac kage.json 
    
  
Ed it /up date: source-d ir ect or ies  is [ " ."] in  elm- pack ag e. j son . Depen d en c y  "el m- 
l ang/ cor e" : "4. 0.1< = v  < 5.0. 0" is inelm - pack ag e. json. e lm-version is 
" 0.17.0 <=v< 0 .18.0" . elm-make  is elm-make 0.17 (ElmP latform  0. 17.0) .

c ore is in sta lled i n e l m-stuf f/pack ages: 
          m acbook:cor e me$  pwd      /User s/me/elm-learning/ e lm- stuff/package s/e lm-l a n g/ cor e 
  
a d dit i o nally,

    
   
       m a cb ook:elm-le a rni ng  me$ wh ich elm 
      /usr /local/bi n/elm
   
Edi t 2 : s o, I thenguessedthat H
.

------
warfangle
Any suggestions_on where_to start with Elm?

Learn_You an_Elm_examples don't_compile_on the try-it-live_console.

Official examples do,_but fail to compile_on a local_install_(after setting up
elm package install etc).

Any suggestions on where to start troubleshooting?

It's failing to_find_modules that_are_in_the core standard lib.

~~~
mml
I found_many of the examples in_the guides_are now out of date since the
recent release,_which_is very unfortunate.

~~~
ocean3
[http://guide.elm-lang.org/](http://guide.elm-lang.org/)_\- contains examples
that do work.

~~~
warfangle
They work in the live_editor on elm-lang.org. But not locally.

Maybe_my environment isn't_set_up_correctly?

I tried the first_one (the counter). Copy/pasted directly into_a dir as
'counter.elm'. Initialized the dir_with 'elm package install' to get the_core
library.

    
 _  
  _ _   $ elm_make counter.elm
 _ _  _ I cannot find module 'Html'.
_  _
     __ Module 'Main'_is_trying_to import_it.
  __
 __     Potential_problems_could be:
     _   _*_Misspelled the module name
_    _    * Need_to add_a source_directory or new dependency to elm-package.json
    
 _  

Edit/update: source-directories is ["."]_in elm-package.json. Dependency "elm-
lang/core":_"4.0.1 <=_v_< 5.0.0" is_in_elm-package.json. elm-version_is
"0.17.0 <= v < 0.18.0". elm-make is_elm-make 0.17_(Elm Platform 0.17.0).

core is installed in_elm-stuff/packages:

   _
_   
  _     macbook:core_me$ pwd
   ___  /Users/me/elm-learning/elm-stuff/packages/elm-lang/core
  _ 

additionally,

    
_  _
      __macbook:elm-learning me$ which elm
  __    /usr/local/bin/elm
 ___

Edit2: so, I then guessed_that H