79538959

Date: 2025-03-27 13:10:11
Score: 1
Natty:
Report link

Open file ~/.config/sublime-text/Packages/Prettierd\ Format/prettierd_formatter.py

and instead the line: default_path = shutil.which("prettierd")

Insert this line: default_path ='/home/user/.nvm/versions/node/v22.14.0/bin/prettierd'

The line '/home/user.../prettierd' on your system you can get from command 'which prettierd' and add 'prettierd' to it.

P.S. It seems to me shutil.which('prettierd') cannot find the right path to "prettierd" even though in "prettierd_format.sublime-settings" the path was clear { "prettierd_path": "/home/user/.nvm/versions/node/v22.14.0/bin/prettierd" }

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: havenoclue