Tailwindcss: No node_modules/.bin/tailwind created on homestead

Created on 29 Nov 2017  路  3Comments  路  Source: tailwindlabs/tailwindcss

Hey there,

I have a Laravel install that I run on homestead (Windows 10 is base OS).

I am running:
node v8.9.1
npm 5.5.1

I installed tailwind with yarn add tailwindcss --dev --no-bin-links

Everything seemed to install correctly however I can't run ./node_modules/.bin/tailwind init [filename]

When I look in node_modules their is no .bin folder.

Most helpful comment

Without the bins created, you could run the node script directly:
node ./node_modules/tailwindcss/lib/cli.js init [filename]

All 3 comments

It's not possible to install dependencies without the --no-bin-links flag on Homestead on Windows due to the lack of symlink support.

Without the bins created, you could run the node script directly:
node ./node_modules/tailwindcss/lib/cli.js init [filename]

Yeah using --no-bin-links means the bin links of course aren't created, so you can't use the Tailwind CLI tool the way it's documented. What @tlgreg suggested will work though 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jvanbaarsen picture jvanbaarsen  路  3Comments

paulhuisman picture paulhuisman  路  3Comments

AlexVipond picture AlexVipond  路  3Comments

chintanbanugaria picture chintanbanugaria  路  3Comments

dbpolito picture dbpolito  路  3Comments