We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In upgrading a project from v2.1.0 to v3.0.1, I'm now receiving an error:
Fatal error: The "original" argument must be of type Function. Received type undefined
Not sure what this is referencing; however, is new after the upgrade.
SASS portion of Gruntfile.js:
sass: { dist: { options: { implementation: 'sass-dist', outputStyle: 'compact', sourceComments: false, sourceMap: true }, files: { 'css/example.css': 'sass/example.scss', } } }
The text was updated successfully, but these errors were encountered:
Look at the grungfile of the project, this is the key.
https://github.com/sindresorhus/grunt-sass/blob/master/gruntfile.js
The new version needs Node 8 or higher
Sorry, something went wrong.
I ran into this error, too. To fix this, follow these steps:
Add node-sass to your project
$ npm i node-sass --save-dev
Include node-sass in your Gruntfile
const sass = require('node-sass');
In your sass options, change the following line
from
implementation: 'sass-dist'
to
implementation: sass
If anyone ends up here and can't figure it out, this might help ---
I accidentally (stupidly?) had the 'implementation' argument as a string, so change
implementation: 'sass'
implemenation: sass
This of course depends on the
line to populate the sass object.
No branches or pull requests
In upgrading a project from v2.1.0 to v3.0.1, I'm now receiving an error:
Not sure what this is referencing; however, is new after the upgrade.
SASS portion of Gruntfile.js:
The text was updated successfully, but these errors were encountered: