Skip to content

Error: "npx tailwindcss init -p" results in "could not determine executable to run" error #18008

Answered by wongjn
khushi0433 asked this question in Help
Discussion options

You must be logged in to vote

The init command no longer exists in the most recent major version of Tailwind. Consider checking the installation documentation that is most relevant to your project to integrate Tailwind CSS properly.

If you are trying to use v3, ensure the version qualifier is used:

$ npm install -D tailwindcss@3 postcss autoprefixer
$ npx tailwindcss init -p

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@khushi0433
Comment options

Answer selected by khushi0433
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants