Skip to content

1.0.0-alpha: error upon save file: Error detected while processing function... #230

Description

@city41

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

What is the current/expected behavior?
Upon saving a file, expecting it to format the code. But instead getting

Error detected while processing function prettier#Prettier[33]..prettier#job#runner#run[2]..<SNR>86_asyncFormat[14]..prettier#job#async#ne
ovim#run:
line   23:

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

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

What is your prettier executable path - (output of :PrettierCliPath) ?
/home/matt/dev/jumpclub/node_modules/.bin/prettier

(ie, the local prettier inside my project)

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

I think so. I am setting up a new machine and I believe when I installed my vim plugins it picked up a newer version of vim-prettier. But I am not totally sure.

Other info
vim version: NVIM v0.4.0-1655-gc190415dc
OS: Ubuntu 18.04

I installed the 0.x release and do not get the error. The 0.x version seems to be behaving as expected.

and btw, thanks for making this plugin, super useful!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions