Giter VIP home page Giter VIP logo

Comments (3)

jacobobryant avatar jacobobryant commented on July 3, 2024 1

I was able to reproduce the first error by running bb css on a new project and then hitting ctrl-c while the tailwind download was in progress, then doing chmod +x bin/tailwindcss. I added some code that will detect if the binary is corrupted and print an error message suggesting that you delete it if so (which will cause the binary to be redownloaded the next time you run the original command). That's on master already (see https://forum.tfos.co/t/biff-v0-7-13/81), and I'll publish a release on github soon.

As for how your tailwind binary got in that state after it was already working, I have no idea... but if it ever resurfaces, rm bin/tailwindcss should do the trick.

The Cannot find module '@tailwindcss/forms' error is there because the default tailwind.config.js file specifies a dependency on the @tailwindcss/forms plugin, which is bundled with the binary. If you've installed tailwindcss locally or globally with npm, you'll need to also install @tailwindcss/forms with npm.

from biff.

nate-sys avatar nate-sys commented on July 3, 2024

Got it to work by nuking my tailwind install and creating a new project. I don't know how to reproduce the issue, but I think it happens when the initial tailwind download fails when setting up a project. Maybe it tries to run the incomplete binary that didn't download correctly? Though, this doesn't explain why the pages just stopped being styled during my first run, where everything downloaded correctly. Curious.

from biff.

jacobobryant avatar jacobobryant commented on July 3, 2024

Interesting, I'll investigate this soon.

from biff.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.