mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-24 05:05:20 -04:00
(doc) add info about clearing caches during development
This commit is contained in:
parent
3c81de9c16
commit
9902e6fd7a
@ -178,6 +178,14 @@ so to test them, you have to build a production build (`make deploy` and `nuxt s
|
|||||||
|
|
||||||
### Troubleshooting
|
### Troubleshooting
|
||||||
|
|
||||||
|
#### Invalid caches after changing code
|
||||||
|
Due to how [caches in Nitro](https://nitro.build/guide/cache) work, they automatically invalidate during development
|
||||||
|
when their function changes. However, this heuristic does not cover other functions the cached function depends on.
|
||||||
|
You can manually clear caches:
|
||||||
|
```bash
|
||||||
|
rm -rf .nuxt/cache
|
||||||
|
```
|
||||||
|
|
||||||
#### Module did not self-register
|
#### Module did not self-register
|
||||||
|
|
||||||
If you encounter an error `Module did not self-register`, triggered by the `canvas` dependency,
|
If you encounter an error `Module did not self-register`, triggered by the `canvas` dependency,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user