Prettier-vscode: Couldn't resolve parser "json-stringify"

Created on 5 Jun 2018  路  6Comments  路  Source: prettier/prettier-vscode

When trying to format json files I am getting this error.

This happens in our monorepo when attempting to format any JSON file. Repo is here: https://github.com/forcedotcom/salesforcedx-vscode

Prettier VSCode Version 1.4.0
VS Code Version: 1.23.1
Node Version: v8.11.2
NPM Version: 6.0.1

locked

Most helpful comment

Found, I've a patch coming in in next hours.

All 6 comments

Hello @ntotten

I think that you forgot to include your actual error.

@RobinMalfait - Sorry, here it is (from the Output > Prettier panel in VS Code):

2018-6-5 13:01:32:

Couldn't resolve parser "json-stringify"

2018-6-5 13:01:56:

Couldn't resolve parser "json-stringify"

2018-6-5 13:02:02:

Couldn't resolve parser "json-stringify"

2018-6-5 14:54:22:

Couldn't resolve parser "json-stringify"

....

We're also seeing the same issue. Running Prettier in the command line works fine, but the VSCode extension fails.


Prettier VSCode Version 1.4.0
VS Code Version: 1.23.1
Node Version: v9.5.0
NPM Version: 5.6.0

Seconded

Found, I've a patch coming in in next hours.

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

GantMan picture GantMan  路  3Comments

mshehadeh picture mshehadeh  路  4Comments

Tanmccuin picture Tanmccuin  路  3Comments

PetrykowskiM picture PetrykowskiM  路  3Comments

FlorianWendelborn picture FlorianWendelborn  路  3Comments