Installing tailwind and Shadcn to baserow plugin for web page

Are you using our SaaS platform (Baserow.io) or self-hosting Baserow?

Self-hosted

If you are self-hosting, what version of Baserow are you running?

latest one

If you are self-hosting, which installation method do you use to run Baserow?

28.0.1 mac

What are the exact steps to reproduce this issue?

First error is with npm when installing packages.
Unsupported URL Type “link:”: link:/baserow/web-frontend when using npm
SO i used yarn.

so next

rm -rf node_modules
rm -f yarn.lock
yarn cache clean
yarn install

yarn add shadcn-vue lucide-vue-next
yarn add -D @nuxtjs/tailwindcss

these steps are based on

When building now i get error tailwind is not found, but i have installed it with yarn add -D tailwindcss

Now when building i get.

258.2 [PLUGIN][lms] Installing plugins dev dependencies…
258.3 yarn install v1.22.19

342.6 warning stylelint > @stylelint/postcss-markdown@0.36.2: Use the original unforked package instead: postcss-markdown
346.0 [2/4] Fetching packages…
367.3 error glob@11.0.1: The engine “node” is incompatible with this module. Expected version “20 || >=22”. Got “21.7.3”
367.3 error Found incompatible module.
367.3 info Visit yarn install | Yarn for documentation

Hey @francis, based on the error, it looks like the package you installed is not compatible with the Node version Baserow is running.

Thanks Bram.

So how do we achieve this shadcn and tailwind installation on the latest version of baserow [1.32.5] that i have installed on my local mac machine. I intend to create custom pages using shadcn and tailwind as the frontend.
Do you propose any workaround or solution?

Maybe you can try and look into an older version of tailwind or shadcn that that is compatible with the node version that Baserow uses?

Can you help me with the EXACT version of tailwind and shadcn that I should install which is compatible with the node version that baserow uses?

Alternatively, would it be possible for you to provide us the exact cli commands?

Thanks