Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue running version 0.25.4 #816

Open
gegoune opened this issue Nov 18, 2024 · 1 comment
Open

Issue running version 0.25.4 #816

gegoune opened this issue Nov 18, 2024 · 1 comment

Comments

@gegoune
Copy link

gegoune commented Nov 18, 2024

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!

@timharek
Copy link

timharek commented Dec 4, 2024

I have the same issue with macOS with Homebrew.

cc @fsouza

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants