HAMUR_E0002: No adapter is installed
No adapter is installed. Error HAMUR_E0002 belongs to hamur, config, environment and command line (0001 – 0999).
Message
HAMUR_E0002 No Hamur adapter found (looked for @hamur/adapter-react, @hamur/adapter-vue, @hamur/adapter-preact, @hamur/adapter-svelte, @hamur/adapter-solid, @hamur/adapter-html and @hamur/adapter-angular in dependencies and devDependencies). <hint>
Cause
No @hamur/adapter-<library> package is in the app's dependencies or devDependencies, and framework is not set in the config.
Fix
Install one adapter, for example bun add @hamur/adapter-react, or set framework in hamur.config.ts.
import { defineConfig } from "hamur"
export default defineConfig({
framework: "react",
})