Skip to content

Jesús Amieiro

Information technologies. Per aspera ad astra

Tag: grunt

Compiling Sass in a WordPress theme using Grunt

I am developing a WordPress theme using the Underscores theme as my starter theme and I want to automatize the Sass compiling. For this purpose, I will go to use Grunt, a JavaScript Task Runner. In this example, I will use a Laravel Homestead, a Vagrant Virtual Machine, as my development environment.

Published 25/07/2018
Categorized as programación, software libre Tagged _s, grunt, npm, Ruby, Sass, underscores, WordPress

You need to have Ruby and Sass installed and in your PATH for this task to work

  I was trying to compile some Sass files using Grunt when I get this error: $ grunt Running “sass:dist” (sass) task Warning: You need to have Ruby and Sass installed and in your PATH for this task to work. More info: https://github.com/gruntjs/grunt-contrib-sass Use –force to continue. Aborted due to warnings.

Published 05/09/2017
Categorized as software libre Tagged grunt, Ruby, Sass

Search

  • About me
  • Contact me
  • Talks
  • Running, trekking and other stuff
  • Cookies

Side projects

  • La semana PHP
  • Descargar máquinas virtuales
  • WP polyglots facilitator
  • Control the Work

Interesting links

  • Command Line Linux Tips and Tricks
  • Calendar of events, conferences, and meetups
Jesús Amieiro
Proudly powered by WordPress.