Error `cb.apply is not a function` on using `tailwindcss-cli`
See original GitHub issueDescribe the problem:
- 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:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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 mytailwindcss@latest
and resolve it’s dependencies automatically (without installing them in local folder) or am I missing something?Unfortunately nor
npx tailwindcss@latest
neithernpx tailwindcss-cli@latest
didn’t work without installing packages withnpm install
before that 😞 .