Skip to content

Run Tailwind CSS from installed plugin directory#8

Merged
justinmayer merged 1 commit intomainfrom
npm-missing-executable
Feb 19, 2025
Merged

Run Tailwind CSS from installed plugin directory#8
justinmayer merged 1 commit intomainfrom
npm-missing-executable

Conversation

@justinmayer
Copy link
Contributor

Recently the following error began to appear:

npm error could not determine executable to run

Three possibly-relevant lines from the NPM verbose log are:

16 verbose pkgid tailwindcss@4.0.7
17 error could not determine executable to run
18 verbose cwd /Users/myuser/Documents/pelican-test-site

The test site project and plugin are configured for Tailwind CSS 3.x, so it is not at all clear how and why Tailwind CSS 4.0.7 appears in the verbose log, but that is the mostly likely culprit given that this error has never occurred before.

My current workaround is to ensure that Tailwind CSS is invoked from the installed plugin directory instead of the Pelican site project root.

Workaround to address an error, possibly related to Tailwind CSS 4.x:

npm error could not determine executable to run
@justinmayer justinmayer merged commit 895bfe8 into main Feb 19, 2025
2 of 12 checks passed
@justinmayer justinmayer deleted the npm-missing-executable branch February 19, 2025 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments