You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Grunt (with grunt-sass) to build my site’s CSS. I’ve used NPM to install normalize-scss, but when I require('normalize-scss') in my GruntFile.js, I get a SyntaxError:
Loading "GruntFile.js" tasks...ERROR
>> SyntaxError: Unexpected token ILLEGAL
>> at exports.runInThisContext (vm.js:53:16)
>> at Module._compile (module.js:404:25)
>> at Object.Module._extensions..js (module.js:432:10)
>> at Module.load (module.js:356:32)
>> at Function.Module._load (module.js:311:12)
>> at Module.require (module.js:366:17)
>> at require (module.js:385:17)
>> at Object.module.exports (/Users/kyank/code/impromelbourne.com.au/GruntFile.js:26:11)
>> at loadTask (/Users/kyank/code/impromelbourne.com.au/node_modules/grunt/lib/grunt/task.js:325:10)
>> at Task.task.init (/Users/kyank/code/impromelbourne.com.au/node_modules/grunt/lib/grunt/task.js:437:5)
NodeJS v5.0.0 on OS X 10.11.2.
Any idea what I might be doing wrong?
The text was updated successfully, but these errors were encountered:
I am using Grunt (with grunt-sass) to build my site’s CSS. I’ve used NPM to install normalize-scss, but when I
require('normalize-scss')
in my GruntFile.js, I get aSyntaxError
:NodeJS v5.0.0 on OS X 10.11.2.
Any idea what I might be doing wrong?
The text was updated successfully, but these errors were encountered: