> For the complete documentation index, see [llms.txt](https://simpldb.js.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://simpldb.js.org/v2.11.0/troubleshooting.md).

# Troubleshooting

Running into any error or problem? This guide might help you.

To avoid errors related to the installation, please read the [Introduction](/v2.11.0/master.md) page first.

## Errors

> *<mark style="color:green;">✅ Patched on v2.12.0</mark>*\ <mark style="color:red;">**TypeError**</mark><mark style="color:red;">: Cannot read properties of undefined (reading 'dataFile')</mark>\
> This error is present in every version of the package until `v2.9.2` and in version `v2.11.0` and is caused by not providing any parameter when creating an instance of the database:

Temporary fix:

{% tabs %}
{% tab title="JavaScript" %}

```diff
- const db = new SimplDB();
+ const db = new SimplDB({});
```

{% endtab %}

{% tab title="TypeScript" %}

```diff
- const db = new Database();
+ const db = new Database({});
```

{% endtab %}
{% endtabs %}
