Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

258
Views
tailwind doesn't with npm run dev

I got a task to do which is to create some forms with tailwindcss but When I try to launch : npm run build, it does't work. Could you help me?

npm ERR! code ELIFECYCLE
npm ERR! errno 9
npm ERR! widgets@1.0.0 dev: `tailwind build css/tailwind.css -o build/css/tailwind.css`
npm ERR! Exit status 9
npm ERR! 
npm ERR! Failed at the widgets@1.0.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/andresbolivar/.npm/_logs/2022-01-21T16_59_01_550Z-debug.log

this is my package.json

{
  "name": "widgets",
  "version": "1.0.0",
  "main": "index.js",
  "scripts": {
    "dev": "tailwind build style.css -o /css/tailwind.css"
  },
  "author": "",
  "license": "ISC",
  "devDependencies": {
    "autoprefixer": "^10.4.2",
    "postcss": "^8.4.5",
    "tailwindcss": "^3.0.15"
  },
  "dependencies": {},
  "description": ""
}
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You need to install Tailwind CLI in order to execute tailwind commands:

# Using NPM?
npm install -D tailwindcss

# Using yarn?
yarn add tailwindcss -D

Also, it helps to check the error log (as mentioned in the message printed to your terminal) to find out a full stack trace of the error.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!