Connected to issues: #704 #705
Connected to PR: #706
Currently running version >=1.8.1 of prettier-vscode throws prettierInstance.getSupportInfo is not a function when run with a local version of Prettier < 1.8.0. This is due to a switch in #706 to use the local version of Prettier to determine the valid parsers, due to an upstream issue in Prettier where getSupportInfo returns the wrong information regarding the babel/babylon parser: prettier/prettier#5822
Workaround:
Either:
- Upgrade your local version of Prettier to be >= 1.8.0
- Downgrade prettier-vscode to 1.7.3
Connected to issues: #704 #705
Connected to PR: #706
Currently running version >=1.8.1 of
prettier-vscodethrowsprettierInstance.getSupportInfo is not a functionwhen run with a local version of Prettier < 1.8.0. This is due to a switch in #706 to use the local version of Prettier to determine the valid parsers, due to an upstream issue in Prettier wheregetSupportInforeturns the wrong information regarding the babel/babylon parser: prettier/prettier#5822Workaround:
Either: