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.

Error `cb.apply is not a function` on using `tailwindcss-cli`

See original GitHub issue

Describe the problem:

  1. Run npx tailwindcss-cli@latest build as described in docs

ER: output css file is built

AR: npm ERR! cb.apply is not a function

Environment

$ node --version
v15.3.0

$ npm --version
6.14.9

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
dectorcommented, Dec 2, 2020

Hm… When I’m installing dependencies via npm to local folder - npx tailwindcss build works as expected. But otherwise I have different kind of errors.

Sorry, I’m not from JS world. Shouldn’t npx execute my tailwindcss@latest and resolve it’s dependencies automatically (without installing them in local folder) or am I missing something?

0reactions
dectorcommented, Dec 20, 2020

Unfortunately nor npx tailwindcss@latest neither npx tailwindcss-cli@latest didn’t work without installing packages with npm install before that 😞 .

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError: cb.apply is not a function - Stack Overflow
In the CI, when building the project on CircleCI or on AppCenter with a code that I already released two months ago it...
Read more >
How I fixed a "cb.apply is not a function" error while using ...
js software used to generate an ebook from a set of markdown files. I use it for my ebooks. Today I was trying...
Read more >
npm ERR! cb.apply is not a function SOLVED - YouTube
How to solve npm ERR! cb. apply is not a function is shown. ... Uploading Files to MongoDB With GridFS (Node.js App). Traversy...
Read more >
How to solve npm ERR! cb.apply is not a function error
When running the npm install command, you may see an error that says “cb.apply is not a function”. The error message is as...
Read more >
Error "cb.apply is not a function" on centos 7 - CodeProject
What I have tried: I tried to upgrade npm version using "sudo npm install -g npm@latest" . And i also tried to update...
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