Quantcast
Channel: asp.net – blog.boro2g.co.uk
Viewing all articles
Browse latest Browse all 6

Grunt and gulp tasks in visual studio 2015 – libsass error

$
0
0

One of the neat features baked into the new Visual Studio is the ability to run grunt and gulp tasks. This can be done on demand via the Task Runner Explorer or tied into build events.

Some simple steps for getting started with Grunt are: http://www.iambacon.co.uk/blog/getting-started-with-grunt-sass-and-task-runner-explorer-visual-studio

All pretty cool, if it works! If you’ve got a version of node installed be aware that Visual Studio also ships with its own. It took me a while to track down so thought it worth sharing. If you receive errors when trying to run these tasks eg:

cmd.exe /c gulp --tasks-simple
Error: `libsass` bindings not found in C:\Users\###

Then try swapping the options so that $(PATH) is higher priority than the MS Web tools option:

path

 

This was found with some help from:

http://blogs.msdn.com/b/webdev/archive/2015/03/19/customize-external-web-tools-in-visual-studio-2015.aspx

The post Grunt and gulp tasks in visual studio 2015 – libsass error appeared first on blog.boro2g.co.uk.


Viewing all articles
Browse latest Browse all 6

Trending Articles