elm / compiler

Compiler for Elm, a functional language for reliable webapps.
https://elm-lang.org/
BSD 3-Clause "New" or "Revised" License
7.48k stars 658 forks source link

Fix typo of installed bin PATH with npm #2291

Open kachick opened 1 year ago

kachick commented 1 year ago

Quick Summary: In documents around installation with npm, the installed bin path having a typo.

SSCCE

$ node -v
v18.12.1

$ npm --version
8.19.2

$ npm install elm@latest-0.19.1
...
added 48 packages, and audited 49 packages in 3s
...

$ ./node_modules/bin/elm --version
bash: ./node_modules/bin/elm: No such file or directory

$ ./node_modules/.bin/elm --version
0.19.1

Additional Details

I found this issue in reading https://www.npmjs.com/package/elm.

github-actions[bot] commented 1 year ago

Thanks for suggesting these code changes. To set expectations:

Finally, please be patient with the core team. They are trying their best with limited resources.