Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

256
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda