Open UriMtzF opened 2 years ago
Same issue.
I guess it might be caused by call-process
instead of call-process-shell-command
in the code, which might not bring environment settings from shell. You can specify the location of prettier
to prettier-js-command
if you want.
If prettier is installed by the package manager, it can be accessed by terminal, using
which prettier
outputs the path to prettier however the extension can't use it.However, prettier installed by npm just works.
Prettier was installed using Pacman on EndeavourOS.