-
-
Notifications
You must be signed in to change notification settings - Fork 138
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
Failed to parse buffer import.meta.url #188
Comments
Do you mind testing to see if this issue still occurs on the To start using that release branch for now you can update your Plug 'prettier/vim-prettier', {
\ 'do': 'yarn install',
\ 'branch': 'release/1.x'
} |
I no longer can reproduce this issue, feel free to reopen if this still happens |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do you want to request a feature or report a bug?
Bug
What is the current/expected behavior?
Current:
Getting error
"Prettier: faliled to parse buffer."
when I'm in.mjs
file and usingimport.meta.url
to get the__dirname
equivalent for ESM modules inNode.js
Expected:
No error
What version of
vim-prettier
are you using - (output of:PrettierVersion
) ?0.2.7
What version of
prettier
are you using - (output of:PrettierCliVersion
) ?1.17.0
What is your
prettier
executable path - (output of:PrettierCliPath
) ?prettier
Did this work in previous versions of vim-prettier and/or prettier ?
Works in Prettier I've checked on prettier playground
No idea about the previous version, though
The text was updated successfully, but these errors were encountered: