WaspW
Wasp14mo ago
7 replies
TheAdrian

Cannot apply unknown utility class

Hello

Wasp version 0.15.2, trying to go through the getting started steps for the OpenSaaS template and I'm getting this error:

[plugin:vite:css] [postcss] Cannot apply unknown utility class: lg:h-[calc(100vh_-_5.625rem)]


Has anyone seen the above before and know how to fix it?

Here is my postcss.config.cjs file:
module.exports = {
  plugins: {
    '@tailwindcss/postcss': {},
    autoprefixer: {},
  },
};


When I initially tried creating an OpenSaaS template I was getting errors about how postcss was moved and I had to update to use
tailwindcss/postcss
so that's why I have the above change. But now I'm running into the error in the attached image

Thanks, let me know if there's any other info I can provide
image.png
Was this page helpful?