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?

Where Next?

Popular Pragmatic Bookshelf topics Top

HarryDeveloper
Hi @venkats, It has been mentioned in the description of ‘Supervisory Job’ title that 2 things as mentioned below result in the same eff...
New
New
leba0495
Hello! Thanks for the great book. I was attempting the Trie (chap 17) exercises and for number 4 the solution provided for the autocorre...
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
brunogirin
When installing Cards as an editable package, I get the following error: ERROR: File “setup.py” not found. Directory cannot be installe...
New
adamwoolhether
Is there any place where we can discuss the solutions to some of the exercises? I can figure most of them out, but am having trouble with...
New
s2k
Hi all, currently I wonder how the Tailwind colours work (or don’t work). For example, in app/views/layouts/application.html.erb I have...
New
EdBorn
Title: Agile Web Development with Rails 7: (page 70) I am running windows 11 pro with rails 7.0.3 and ruby 3.1.2p20 (2022-04-12 revision...
New
New
gorkaio
root_layout: {PentoWeb.LayoutView, :root}, This results in the following following error: no “root” html template defined for PentoWeb...
New

Other popular topics Top

AstonJ
You might be thinking we should just ask who’s not using VSCode :joy: however there are some new additions in the space that might give V...
New
AstonJ
I’ve been hearing quite a lot of comments relating to the sound of a keyboard, with one of the most desirable of these called ‘thock’, he...
New
AstonJ
Inspired by this post from @Carter, which languages, frameworks or other tech or tools do you think is killing it right now? :upside_down...
New
Margaret
Hello content creators! Happy new year. What tech topics do you think will be the focus of 2021? My vote for one topic is ethics in tech...
New
Exadra37
I am asking for any distro that only has the bare-bones to be able to get a shell in the server and then just install the packages as we ...
New
AstonJ
Continuing the discussion from Thinking about learning Crystal, let’s discuss - I was wondering which languages don’t GC - maybe we can c...
New
gagan7995
API 4 Path: /user/following/ Method: GET Description: Returns the list of all names of people whom the user follows Response [ { ...
New
AstonJ
If you get Can't find emacs in your PATH when trying to install Doom Emacs on your Mac you… just… need to install Emacs first! :lol: bre...
New
PragmaticBookshelf
Author Spotlight Mike Riley @mriley This month, we turn the spotlight on Mike Riley, author of Portable Python Projects. Mike’s book ...
New
PragmaticBookshelf
Author Spotlight: Sophie DeBenedetto @SophieDeBenedetto The days of the traditional request-response web application are long gone, b...
New

Sub Categories: