Mung

Mung

Modern CSS with Tailwind: No Love for Windows users

Title: Modern CSS with Tailwind: bin/setup not working on windows (page 4)

$ bin/setup doesn’t work on Windows

Tried $ ruby bin/setup. This ran the setup script but failed on yarn.

Edited the bin/setup script to have ‘ruby bin/yarn’ which then ran bin/yarn but that also failed even though yarn is present.

D:\projects\css\tailwind-css>bin/setup
‘bin’ is not recognized as an internal or external command,
operable program or batch file.

D:\projects\css\tailwind-css>rails bin/setup

D:\projects\css\tailwind-css>ruby bin/setup
== Installing dependencies ==
The Gemfile’s dependencies are satisfied

== Command [“bin/yarn”] failed ==

D:\projects\css\tailwind-css>ruby bin/setup
== Installing dependencies ==
Yarn executable was not detected in the system.
Download Yarn at https://yarnpkg.com/en/docs/install

== Command [“ruby bin/yarn”] failed ==

D:\projects\css\tailwind-css>yarn -v
1.22.5

First Post!

Mung

Mung

Perhaps instead of relying on bin/setup provide a list of commands to run manually on Windows platforms? Then provide any files which need to be edited manually?

Popular Pragmatic Bookshelf topics Top

jimschubert
In Chapter 3, the source for index introduces Config on page 31, followed by more code including tests; Config isn’t introduced until pag...
New
New
jesse050717
Title: Web Development with Clojure, Third Edition, pg 116 Hi - I just started chapter 5 and I am stuck on page 116 while trying to star...
New
Mmm
Hi, build fails on: bracket-lib = “~0.8.1” when running on Mac Mini M1 Rust version 1.5.0: Compiling winit v0.22.2 error[E0308]: mi...
New
cro
I am working on the “Your Turn” for chapter one and building out the restart button talked about on page 27. It recommends looking into ...
New
New
curtosis
Running mix deps.get in the sensor_hub directory fails with the following error: ** (Mix) No SSH public keys found in ~/.ssh. An ssh aut...
New
taguniversalmachine
Hi, I am getting an error I cannot figure out on my test. I have what I think is the exact code from the book, other than I changed “us...
New
tkhobbes
After some hassle, I was able to finally run bin/setup, now I have started the rails server but I get this error message right when I vis...
New
dtonhofer
@parrt In the context of Chapter 4.3, the grammar Java.g4, meant to parse Java 6 compilation units, no longer passes ANTLR (currently 4....
New

Other popular topics Top

Devtalk
Hello Devtalk World! Please let us know a little about who you are and where you’re from :nerd_face:
New
Exadra37
Please tell us what is your preferred monitor setup for programming(not gaming) and why you have chosen it. Does your monitor have eye p...
New
New
PragmaticBookshelf
“Finding the Boundaries” Hero’s Journey with Noel Rappin @noelrappin Even when you’re ultimately right about what the future ho...
New
Exadra37
Oh just spent so much time on this to discover now that RancherOS is in end of life but Rancher is refusing to mark the Github repo as su...
New
PragmaticBookshelf
“A Mystical Experience” Hero’s Journey with Paolo Perrotta @nusco Ever wonder how authoring books compares to writing articles?...
New
New
Margaret
Hello everyone! This thread is to tell you about what authors from The Pragmatic Bookshelf are writing on Medium.
1134 25392 752
New
PragmaticBookshelf
Author Spotlight: VM Brasseur @vmbrasseur We have a treat for you today! We turn the spotlight onto Open Source as we sit down with V...
New
AstonJ
This is cool! DEEPSEEK-V3 ON M4 MAC: BLAZING FAST INFERENCE ON APPLE SILICON We just witnessed something incredible: the largest open-s...
New