I compiled Picshare04.elm and reflash my browser, but it only displays the photo Surffing, the other two photos are not displayed. What could be happening?
Sorry to hear you’re having trouble with one of the examples. Can you share which chapter you’re working on? A few chapters have a Picshare04.elm file.
I’m also having issues in this. From the code in “code/get-started/static-app”.
elm make Picshare01.elm –output picshare.js
Then re-compiling Picshare02.elm, Picshare03.elm, Picshare04.elm in that order, each works.
However, going back to any of the previous examples by recompiling doesn’t work.
> elm make Picshare03.elm --output picshare.js Success! Compiled 0 modules. Successfully generated picshare.js
The issue is that it’s not compiling anything!
Is there any way to force it to re-compile other than ‘touching’ the file?
Windows 10, Elm 0.18, Node 9.5.0
The message is misleading, but Elm is “compiling” the file still. Elm caches compiled code in the
ls -l picshare.js (or the Windows equivalent like
dir picshare.js?) before compiling, waiting a minute, compiling, and inspecting again. The creation time should change for the file.
Hope that helps.