Here is my build command for building my Elm site:
'export ELM_HOME="$NETLIFY_CACHE_DIR/elm" && echo "$ELM_HOME" && elm make ./src/Main.elm --output=static/assets/js/shallweplay.js'
This used to work as of May 17th, 2020. But now it fails:
5:55:45 PM: $ export ELM_HOME="$NETLIFY_CACHE_DIR/elm" && echo "$ELM_HOME" && elm make ./src/Main.elm --output=static/assets/js/shallweplay.js 5:55:45 PM: /elm 5:55:45 PM: elm: 5:55:45 PM: /elm: createDirectory: permission denied (Permission denied)
I believe my build is failing because the cache directory path is wrong. It appears as though $NETLIFY_CACHE_DIR is no longer defined? I’m a Netlify noobie. I assumed this was set automatically by the Netlify build environment.
Thanks for the help.