Encountered an error and looking for answers? You've come to the right place.
This section is a work in progress and not yet complete. If you would like to help us document errors in Aurelia, we welcome all contributions.
Coded errors in Aurelia use the format AURxxxx:yyyy where:
AUR is the prefix to indicate it's an error from Aurelia
xxxx is the code
: is the delimiter between the prefix, code and the dynamic information associated with the error
yyyy is the extra information, or parameters related to the error
Enabling development debug information
When using production builds of the core Aurelia packages, you may see an error message like AUR0015:abcxyz, which can be hard to interpret during development.
In development builds, Aurelia errors typically include a human-readable message and a link to the corresponding documentation page.
Vite
@aurelia/vite-plugin automatically picks the development build when process.env.NODE_ENV is not production. You can also override this using the useDev option:
The dist folder of an Aurelia core package looks like this:
Whenever there's a request to retrieve dist/esm/index.mjs, you can redirect it to dist/esm/index.dev.mjs.
Error docs index
In development builds, follow the documentation link printed in the error message. Some AURxxxx codes are reused across packages; the link printed by the package is the authoritative source.