© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•9mo ago•
1 reply
Nick Ruddra

Custom theme problem for tailwind v4 (Failed to find 'tailwindcss/base')

laravel 12, filament 3.3
So I was trying to change filament them and followed the doc for reference but it's showing this error
R:\1_Dev_G\php_laravel\laravel-livewire\ASM git:[dev]
npx tailwindcss@3 --input ./resources/css/filament/shop/theme.css --output ./public/css/filament/shop/theme.css --config ./resources/css/filament/shop/tailwind.config.js --minify
Need to install the following packages:
tailwindcss@3.4.17
Ok to proceed? (y) y

Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Error: Failed to find 'tailwindcss/base'
  in [
    R:\1_Dev_G\php_laravel\laravel-livewire\ASM\vendor\filament\filament\resources\css
  ]
    at C:\Users\RNB\AppData\Local\npm-cache\_npx\20926d80ef4f8eb9\node_modules\postcss-import\lib\resolve-id.js:35:13
    at async Promise.all (index 0)
    at async Promise.all (index 0)
    at async LazyResult.runAsync (C:\Users\RNB\AppData\Local\npm-cache\_npx\20926d80ef4f8eb9\node_modules\postcss\lib\lazy-result.js:293:11)
    at async build (C:\Users\RNB\AppData\Local\npm-cache\_npx\20926d80ef4f8eb9\node_modules\tailwindcss\lib\cli\build\index.js:49:9)
R:\1_Dev_G\php_laravel\laravel-livewire\ASM git:[dev]
npx tailwindcss@3 --input ./resources/css/filament/shop/theme.css --output ./public/css/filament/shop/theme.css --config ./resources/css/filament/shop/tailwind.config.js --minify
Need to install the following packages:
tailwindcss@3.4.17
Ok to proceed? (y) y

Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Error: Failed to find 'tailwindcss/base'
  in [
    R:\1_Dev_G\php_laravel\laravel-livewire\ASM\vendor\filament\filament\resources\css
  ]
    at C:\Users\RNB\AppData\Local\npm-cache\_npx\20926d80ef4f8eb9\node_modules\postcss-import\lib\resolve-id.js:35:13
    at async Promise.all (index 0)
    at async Promise.all (index 0)
    at async LazyResult.runAsync (C:\Users\RNB\AppData\Local\npm-cache\_npx\20926d80ef4f8eb9\node_modules\postcss\lib\lazy-result.js:293:11)
    at async build (C:\Users\RNB\AppData\Local\npm-cache\_npx\20926d80ef4f8eb9\node_modules\tailwindcss\lib\cli\build\index.js:49:9)

also I have run npx update-browserslist-db@latest this command but still its missing tailwindcss/base

In this case what should I do.
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Tailwindcss theme problem
FilamentFFilament / ❓┊help
11mo ago
Tailwind v4: Cannot find module tailwind.config.preset
FilamentFFilament / ❓┊help
13mo ago
How to add all tailwindcss to custom theme?
FilamentFFilament / ❓┊help
16mo ago
Tailwind Issues even with Custom Theme
FilamentFFilament / ❓┊help
2y ago