Am about to give up on getting this package working have tried the following options:
From the prettier docs, installed the package from melpa and added the following to init.el:
(require 'prettier-js) (add-hook 'js2-mode-hook 'prettier-js-mode)
Running
M-x prettier-js
results in the error:Searching for program: No such file or directory, prettier
Tried the use-package configuration from the answer: activate prettier-js-mode after every save
Running
M-q
results in the error:Autoloading failed to define function prettier
and usingM-x prettier-js
again results inSearching for program: No such file or directory, prettier
.
Really not sure what the problem is here, the package is downloaded and present in my elpa directory. Any help is greatly appreciated.