JeffreyWay / laravel-mix-tailwind

mix.tailwind()
347 stars 25 forks source link

Requires yarn? #4

Closed nvahalik closed 5 years ago

nvahalik commented 6 years ago

I followed the instructions and got an error about yarn not being available. Does this package require yarn? If it does, can you add that to the README?

JeffreyWay commented 5 years ago

If you have a yarn.lock file in your project root, it'll try to use Yarn. Delete that file to use npm.

combs commented 5 years ago

@JeffreyWay My project doesn't have a yarn.lock, but I do have yarn installed on my machine, and laravel-mix is trying to use it (thus making a yarn lockfile).