I'm currently in the process of setting up my application using the Create-React-App startup package with the TypeScript template. Everything goes smoothly during the initial installation. However, when I attempt to use the Prettier Code Formatter extension in VS Code to automatically format my files upon saving, I encounter the following error:
Invalid prettier configuration file detected. Please refer to the log for more information.
The log provides little insight beyond this error message. I'm perplexed as to what might be causing it. Despite trying various solutions such as adding a .prettierrc file or configurations in the package.json file, the issue persists.
If anyone can offer assistance, I would greatly appreciate it. Thank you.