# Fix a package.json error after installing Prettier

> Fix a confusing package.json error after installing the Prettier config for Astro: the real culprit was an empty tailwind.config.js that needed empty braces.

Author: [Flavio Copes](https://flaviocopes.com/about/) | Published: 2022-07-06 | Topics: [Tools](https://flaviocopes.com/tags/tools/), [Astro](https://flaviocopes.com/tags/astro/) | Canonical: https://flaviocopes.com/fix-error-package-json-prettier/

After installing the [prettier](https://flaviocopes.com/prettier/) config for [Astro](https://flaviocopes.com/astro-introduction/), I had an error saying I had an error in my package.json file, on a line that didn't actually exist in such file.

Turned out I had an empty `tailwind.config.js` and adding two empty curly brackets fixed the issue:

```
{
}
```
