Skip to content

[v4]Can't resolve 'tailwindcss' in... #16657

@nezaboravi

Description

@nezaboravi

v4.0.6
Vite 6.1.0
Node: v20.0.0
Safari
macOS

Followed 1:1 installation process from Tailwind official documentation.(https://tailwindcss.com/docs/installation/framework-guides/laravel/vite)

results in error: [plugin:@tailwindcss/vite:generate:serve]
Can't resolve 'tailwindcss' in '/Users/codingwisely/Code/deals/resources/css'
/Users/codingwisely/Code/deals/resources/css/app.css

I cant upload video here looks so, as I recorded from start of new laravel application till the error. I have uploaded it to Dropbox for clarity.
I tried new project 4 times, and always end up with same error. feeling pretty stupid.
Here is a dropbox video.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions