Code Monkey home page Code Monkey logo

Comments (5)

clnt avatar clnt commented on June 8, 2024

Hi @mhoffmann-app

Have you downloaded the latest release tagged 2.0.1 and deleted existing workflow before re-adding it?

I have already implemented the script to detect PHP locations on that release and have also tested it on PHP 8.1 release today.

The download link in the readme will give you the latest release.

Cheers

from alfred-tailwindcss-docs.

mhoffmann-app avatar mhoffmann-app commented on June 8, 2024

I just downloaded it for the first time. I read that Alfred 4.6.1 added /opt/local/bin for Monterey, but I installed php via homebrew. Tailwind workflow checks also for /opt/homebrew/bin.

from alfred-tailwindcss-docs.

clnt avatar clnt commented on June 8, 2024

@mhoffmann-app

It should be working fine it has been tested on macs running Monterey on both Intel and M1 chips - and also works with older versions of macOS, I myself am running both Homebrew installs.

The script and paths you are referring to are here in the info.plist file which makes up the workflow:

<string>if [ -f "/opt/homebrew/bin/php" ]; then
/opt/homebrew/bin/php tailwindcss.php "{query}"
elif [ -f "/usr/local/bin/php" ]; then
/usr/local/bin/php tailwindcss.php "{query}"
elif [ -f "/usr/bin/php" ]; then
/usr/bin/php tailwindcss.php "{query}"
fi</string>

This is a related issue where it was first reported #9 and fixed with #10

Ensure when you do which php in your terminal that it gives you the expected path back. I can add the new path that is in the Alfred 4.6.1 change log to the script but would mean doing another release. I have a feeling your homebrew installation is not working as expected?

I have just tested with latest 4.6.1 update on my Intel macbook and it is working fine.

Cheers

from alfred-tailwindcss-docs.

mhoffmann-app avatar mhoffmann-app commented on June 8, 2024

WTF?!? Noooo, i have confused Tailwind and Livewire Workflows... Sorry! :( I opened an issue in the wrong repo... YOU have a nice solution which works very well. Thumps up!

from alfred-tailwindcss-docs.

clnt avatar clnt commented on June 8, 2024

No problem, closing issue :) thanks!

from alfred-tailwindcss-docs.

Related Issues (12)

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.