HI there,
I have noticed an issue running prettierd recently, seems like installed paths are not quite matching package version:
❯ brew install fsouza/prettierd/prettierd
==> Fetching fsouza/prettierd/prettierd
==> Downloading https://registry.npmjs.org/@fsouza/prettierd/-/prettierd-0.25.4.tgz
[...]
❯ cat foo.js | prettierd foo.js
Error: Cannot find module 'prettier'
Require stack:
- /opt/homebrew/Cellar/prettierd/0.25.3/libexec/lib/node_modules/@fsouza/prettierd/dist/service.js
- /opt/homebrew/Cellar/prettierd/0.25.3/libexec/lib/node_modules/@fsouza/prettierd/node_modules/core_d/lib/server.js
- /opt/homebrew/Cellar/prettierd/0.25.3/libexec/lib/node_modules/@fsouza/prettierd/node_modules/core_d/lib/daemon.js
❯ ls -d /opt/homebrew/Cellar/prettierd/0.25.*
/opt/homebrew/Cellar/prettierd/0.25.4
Please note that no directory for version 0.25.4 is present when installed with Homebrew.
Thanks for prettierd, it's amazing!
HI there,
I have noticed an issue running prettierd recently, seems like installed paths are not quite matching package version:
❯ ls -d /opt/homebrew/Cellar/prettierd/0.25.* /opt/homebrew/Cellar/prettierd/0.25.4Please note that no directory for version
0.25.4is present when installed with Homebrew.Thanks for prettierd, it's amazing!