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

Cannot find prettier anywhere #71

Open
UriMtzF opened this issue May 12, 2022 · 2 comments
Open

Cannot find prettier anywhere #71

UriMtzF opened this issue May 12, 2022 · 2 comments

Comments

@UriMtzF
Copy link

UriMtzF commented May 12, 2022

If prettier is installed by the package manager, it can be accessed by terminal, using which prettier outputs the path to prettier however the extension can't use it.

However, prettier installed by npm just works.

Prettier was installed using Pacman on EndeavourOS.

@felzix
Copy link

felzix commented Feb 3, 2024

Same issue.

@t1anchen
Copy link

I guess it might be caused by call-process instead of call-process-shell-command in the code, which might not bring environment settings from shell. You can specify the location of prettier to prettier-js-command if you want.

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

3 participants