`postcss-custom-properties` is not being bundled

This issue has been tracked since 2022-11-21.

Version

@nuxtjs/tailwindcss: 6.1.3
nuxt: 3.0.0 (Stable)

Reproduction Link

Steps to reproduce

  • Simply install the plugin and run the app

What is Expected?

A working tailwind in the project

What is actually happening?

 ERROR  Cannot start nuxt:  Cannot find module 'postcss-custom-properties'                         16:08:15
Require stack:
- /home/dev/Documents/Code/michapio/index.js

  Require stack:
  - index.js
  at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
  at Function.resolve (node:internal/modules/cjs/helpers:108:19)
  at Function._resolve [as resolve] (node_modules/jiti/dist/jiti.js:1:243302)
  at resolveModule (node_modules/@nuxt/kit/dist/index.mjs:260:29)
  at requireModule (node_modules/@nuxt/kit/dist/index.mjs:280:24)
  at node_modules/@nuxt/vite-builder/dist/shared/vite-builder.1c88b3ee.mjs:670:20
  at Array.map (<anonymous>)
  at resolveCSSOptions (node_modules/@nuxt/vite-builder/dist/shared/vite-builder.1c88b3ee.mjs:669:167)
  at bundle (node_modules/@nuxt/vite-builder/dist/shared/vite-builder.1c88b3ee.mjs:776:14)

Fix

  • Installing postcss-custom-properties manually seems to fix the issue
mrnasil wrote this answer on 2022-11-25

Any update?

AnoRebel wrote this answer on 2022-11-25

Any update?

So far, I'm using the manual fix I wrote.

mrnasil wrote this answer on 2022-12-06

How to fix this?

8Thomas8 wrote this answer on 2023-02-07

Seems to be fixed. I don't need postcss-custom-properties anymore here (Nuxt 3.1.1 and 3.1.2).

More Details About Repo
Owner Name nuxt-modules
Repo Name tailwindcss
Full Name nuxt-modules/tailwindcss
Language TypeScript
Created Date 2019-04-04
Updated Date 2023-03-29
Star Count 1285
Watcher Count 12
Fork Count 157
Issue Count 57

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date