Skip to content

config-load-failed

Markdown for agents

Config problems. This text is what archangel docs config-load-failed prints.

The config’s code threw while it loaded, has no default export, or uses TypeScript that Node cannot strip, such as an enum.

enum Layer { App, Shared } // Node cannot strip an enum
export default defineConfig({ ... });

Fix the error the message names. Use a constant object with as const instead of an enum, add .ts to relative imports, and give the file a default export.