Skip to content

Hyva Theme: Hyvä Checkout not working with Hyvä Theme 1.4.0

I recently upgraded to Hyvä Theme 1.4.0 and installed Hyvä Checkout.
The installation completes without errors, but the checkout page does not display correctly because Tailwind CSS fails to build.

To compile Tailwind for the checkout, I run (As per Hyva-Checkout guide):

npm --prefix vendor/hyva-themes/magento2-default-theme/web/tailwind/ ci
npm --prefix vendor/hyva-themes/magento2-default-theme/web/tailwind/ run build

During the build step, I get this error:

tailwindcss v4.1.12

Error: Can't resolve 'components/form.css'
in '/var/www/html/hyva248/vendor/hyva-themes/magento2-hyva-checkout/src/view/frontend/tailwind'

Because of this, Hyvä Checkout styles are not loading.

Hyvä Theme version: 1.4.0
Magento version: 2.4.8

How can I fix this Tailwind error so that Hyvä Checkout builds correctly with Hyvä Theme 1.4.0?
Is there a missing configuration or a compatibility issue between theme and checkout versions?