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

Prettier doesn't work #319

Open
dcruz1990 opened this issue Dec 21, 2021 · 1 comment
Open

Prettier doesn't work #319

dcruz1990 opened this issue Dec 21, 2021 · 1 comment

Comments

@dcruz1990
Copy link

dcruz1990 commented Dec 21, 2021

Just installed it via Plug, it recognizes Prettier commands but doesn't work
2021-12-21-151822_830x98_scrot

Edit:
Im using Neovim latest, installed prettier globally on /usr/bin/prettier

What version of vim-prettier are you using - (output of :PrettierVersion) ?
0.2.7

What version of prettier are you using - (output of :PrettierCliVersion) ?
Same error as picture

What is your prettier executable path - (output of :PrettierCliPath) ?
Same error as picture

Did this work in previous versions of vim-prettier and/or prettier ?
NaN

@samuelabreu
Copy link

For reference, i get this error when i blindly copy from README:
Plug 'prettier/vim-prettier', { \ 'do': 'yarn install --frozen-lockfile --production', \ 'branch': 'release/0.x' \ }

Removing branch line above it works ok.

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