question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installing tailwind causes app to throw

See original GitHub issue

Hi, I’m trying to install Tailwind via yarn rw g util tailwind. However, when I run the dev server using yarn rw dev, I immediately see an error message saying:

ValidationError: Invalid options object. PostCSS Loader has been initialized using an options object that does not match the API schema.
 - options has an unknown property 'config'. These properties are valid:
   object { postcssOptions?, execute?, sourceMap? }

This error even occurs in a new project. It could be just me, but here are the steps that I took:

  1. yarn create redwood-app app
  2. cd app
  3. yarn rw g util tailwind
  4. yarn rw dev

Doing a little search shows that it could be webpack but I’m not sure.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
peterpcommented, Sep 9, 2020

@iwatakeshi Whoops, fixed now!

1reaction
peterpcommented, Sep 9, 2020

@iwatakeshi Thanks for reporting this - I’m fixing this now.

@thedavidprice This should go in v0.18.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation - Tailwind CSS
The simplest and fastest way to get up and running with Tailwind CSS from scratch is with the Tailwind CLI tool.
Read more >
Taillwind Installation Issues - Stack Overflow
I'm trying to install Tailwind on my React project. I followed the instructions on https://tailwindcss.com/docs/guides/create-react-app and ...
Read more >
How To Create a New Rails 7 App With Tailwind
This tutorial walks through getting a basic Rails 7 application up and running with Tailwind, Devise, and other libraries.
Read more >
Setting up a dev environment with React, Vite, and Tailwind
As software becomes more sophisticated to meet the needs of end users, app size increases linearly and leads to a demand for faster...
Read more >
How to install Tailwind CSS using Webpacker with Rails
I'm the creator of GoRails, Hatchbox.io and Jumpstart. I spend my time creating tutorials and tools to help Ruby on Rails developers build...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found