Update gruntfile.js and packages.json because of changes to grunt-sass. #1687
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When attempting to run grunt after installation according to the instructions, the terminal shows:
Running "sass:dist" (sass) task
Fatal error: The implementation option must be passed to the Sass task
That led me to them-es/starter-bootstrap#1 and then https://www.npmjs.com/package/grunt-sass/v/3.0.0
Adding just the options block in the gruntfile but failing to update packages leads to this error in the terminal:
Loading "Gruntfile.js" tasks...ERROR
>> Error: Cannot find module 'node-sass'
so I first added
"node-sass": "*"
but after running
npm install --save-dev node-sass grunt-sass
the line was changed to
"node-sass": "^4.13.1"
Initially I had an error related to the jekyllConfig section of gruntfile.js indicating that redcarpet was not installed so I changed line 24 to
"markdown: kramdown \r\n"+
but now it seems to work just fine with the original setting.