Skip to content

HAMUR_E0022: experimental.reactCompiler is set without the react adapter

experimental.reactCompiler is set without the react adapter. Error HAMUR_E0022 belongs to hamur, config, environment and command line (0001 – 0999).

Message

text
HAMUR_E0022 experimental.reactCompiler needs the react adapter (framework is "<framework>")

Cause

experimental.reactCompiler is set, but the app's adapter is not react.

Fix

Remove the option, or use @hamur/adapter-react.