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
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):
Couldn't resolve parser "json-stringify"
Couldn't resolve parser "json-stringify"
Couldn't resolve parser "json-stringify"
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.
Most helpful comment
Found, I've a patch coming in in next hours.