craftzdog / dotfiles-public

My personal dotfiles
6.32k stars 1.16k forks source link

fail to install prettierd for `No available formula with the name "prettierd". Did you mean prettier?` #126

Open damingerdai opened 1 year ago

damingerdai commented 1 year ago

i want to install prettierd with homtbrew

brew install prettierd

but fail:

Warning: No available formula with the name "prettierd". Did you mean prettier?
==> Searching for similarly named formulae and casks...
==> Formulae
prettier

To install prettier, run:
  brew install prettier

==> Casks
pretzel

To install pretzel, run:
  brew install --cask pretzel

i try to search the prettierd by googlde and found this one fsouza/prettierd

in this repo, it say that we can install this library

brew install fsouza/prettierd/prettierd

my question is that that two library are the same?

damingerdai commented 1 year ago

due to this null-ls nvim.

brew install prettierd is wrong...

please update My Neovim setup for React, TypeScript, Tailwind CSS, etc

ghost commented 8 months ago

Well, basically, for my development environment, I had to install that package globally so that null-ls(none-ls currently) could run the package.

If you are using yarn,

yarn global add prettierd

If you are using npm,

npm install prettierd -g

If the problem is not still solved, decide to use other packages, including eslint_d, because I had a kind of bad experience with them.

Lastly, I could install prettierd with my brew. This is the brew link that shows the information about prettierd.