invalid prettier configuration file detected. see log for details. code example
Example: invalid prettier configuration file detected. see log for details.
In your vs code open File->preferences->Setting then open your setting.json and put those insede it:
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true}