Skip to content

HAMUR_E0015: The config file default-exports no config object

The config file default-exports no config object. Error HAMUR_E0015 belongs to hamur, config, environment and command line (0001 – 0999).

Message

text
HAMUR_E0015 <basename> must default-export a config object

Cause

The config file ran but its default export is not an object.

Fix

Export the config with export default defineConfig({ … }) or export default { … }.