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

Error on NeoVim nightly #276

Closed
jrop opened this issue Jan 20, 2021 · 2 comments
Closed

Error on NeoVim nightly #276

jrop opened this issue Jan 20, 2021 · 2 comments

Comments

@jrop
Copy link

jrop commented Jan 20, 2021

Do you want to request a feature or report a bug?

bug

What is the current/expected behavior?

Running :Prettier prints the following error message:

Error detected while processing function prettier#Prettier[1]..prettier#resolver#executable#getPath:
line    7:
E928: String required

However, I do have prettier installed:

:!which prettier
/home/jonathan/.config/nvm/12.18.3/bin/prettier

Press ENTER or type command to continue

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

1.0.0-beta

What version of prettier are you using - (output of :PrettierCliVersion) ?

Running :PrettierCliVersion prints the following error message:

Error detected while processing function prettier#Prettier[1]..prettier#resolver#executable#getPath:
line    7:
E928: String required

What is your prettier executable path - (output of :PrettierCliPath) ?

Error detected while processing function prettier#Prettier[1]..prettier#resolver#executable#getPath:
line    7:
E928: String required

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

This works in stable neovim perfectly!

This is the nightly version I am running:

:version
NVIM v0.5.0-dev+1037-gd6d4e3d1a
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -g -Og -g -Wall -Wextra -ped
antic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prot
otypes -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATE
D_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEV
EL=3 -I/home/runner/work/neovim/neovim/build/config -I/home/runner/work/neovim/neovim/src -I/ho
me/runner/work/neovim/neovim/.deps/usr/include -I/usr/include -I/home/runner/work/neovim/neovim
/build/src/nvim/auto -I/home/runner/work/neovim/neovim/build/include
Compiled by runner@fv-az90-277

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/share/nvim"

Run :checkhealth for more info
Press ENTER or type command to continue
@hood
Copy link

hood commented Jan 26, 2021

Same error here. Appeared right after upgrading NeoVim from 0.4.4 to 0.5.0.

@timezerokiller
Copy link

I have this error nvim v0.6.1

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

Successfully merging a pull request may close this issue.

3 participants