Questions tagged [grunt-sass-lint]

8 questions
7
votes
4 answers

VS 2019 gruntfile.js no tasks found when using 'sass = require('node-sass')'

I'm trying to set up grunt-sass for the first time on a new .Net Core 3.1 web app. I've gone through MSFT's steps to add grunt to a project here outlined here and then modified it with the steps from the grunt-sass instructions here. This however…
6
votes
1 answer

Npm module "grunt-sass" not found. Is it installed?

I am using windows 10. Have installed npm version 5.6.0,node v8.10.0 and Python 2.7. Getting grunt-sass is not installed even after installing npm using the command "npm install". After that I installed grunt using command: npm install -g…
2
votes
1 answer

How can GruntJS watch all files but process only the ones that change?

I have a web-app whose directory structure looks like this: src/ - styles/ - a.css - b.css - c.scss - d.scss - media/ - d.jpg - e.png - f.mpf dest/ - css/ - media/ package.json Gruntfile.js I want to use the Gruntfile to…
Saqib Ali
  • 11,931
  • 41
  • 133
  • 272
1
vote
1 answer

How to run grunt sass on several directories with wildcard in Drupal 8

in my Drupal 8 project I have custom modules where inside each of theme I have two directories scss and css, so that the structure is like: - modules - custom - my_module_1 - scss - css - my_module_2 - scss - css -…
ashraf aaref
  • 189
  • 2
  • 10
0
votes
0 answers

Why it says Task "speak" not found. Use --force to continue

I have a problem with grunt. My Grunt version is: grunt-cli v1.4.3 grunt v1.4.1 An Error occurs as I run any task. Warning: Task "speak" not found. Use --force to continue. This occurs with every function I run (for example grunt css or…
0
votes
1 answer

error in grunt-saas, even though saas is installed?

I am using Mac OSX. gem install saas is done. ruby is also update. still show Warning: spawn sass ENOENT Couldn't understand why?
Nilesh Soni
  • 405
  • 5
  • 12
0
votes
1 answer

Load order of Sass media queries as partials

This is more of a best practice question. I am working on a Bootstrap and Sass based website, I am importing partials in the beginning in the "main.scss" file, however for the media queries this means I have to re-write code for some breakpoints…
0
votes
1 answer

No 'Sass' Targets Found - Error whilst using Grunt

I've started trying to get to grips with the very basics of Grunt but when I try to run 'Grunt Sass' I get a "No 'sass' targets found" error. I can't see where I'm going wrong, anyone able to give me nudge in the right direction? module.exports =…
iambeeroy
  • 13
  • 3