Closed MartinSStewart closed 4 years ago
Good point, I just tweaked the README to mention the PATH issue and point to the deno install
docs - I'm a bit reluctant to add specific instructions like adding $HOME/.deno/bin
to the path since that's OS-specific and seems to duplicate the Deno docs themselves. Hopefully this is a decent compromise!
I ran
deno install -A -n elm-script ~/elm-script/runner/main.js
and thought I was done but when I tried to then runelm-script run GetCurrentTime.elm
it didn't work. Turns out I didn't read the output clearly and the last part here isn't a notice that a path has been added but instructions that you need to add this to path.I think it would be a good idea for the readme to mention that you need to add
/Users/martinstewart/.deno/bin:
to the path env variable.