Skip to content

HAMUR_E0001: More than one adapter is installed

More than one adapter is installed. Error HAMUR_E0001 belongs to hamur, config, environment and command line (0001 – 0999).

Message

text
HAMUR_E0001 Several Hamur adapters found: <found>. <hint>

Cause

More than one @hamur/adapter-<library> package is in the app's dependencies or devDependencies, and framework is not set in the config. Hamur cannot tell which library the app uses.

Fix

Remove the adapters the app does not use, or set framework in hamur.config.ts to the one it does.

ts
import { defineConfig } from "hamur"

export default defineConfig({
  framework: "react",
})