On this page
Value assigned to locals is not accepted.
LocalsNotAnObject:
locals
can only be assigned to an object. Other values like numbers, strings, etc. are not accepted.
What went wrong?
Thrown in development mode when locals
is overwritten with something that is not an object
For example:
© 2021 Fred K. Schott
Licensed under the MIT License.
https://docs.astro.build/en/reference/errors/locals-not-an-object/