Skip to content
New issue

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

sass-lint lodash syntax error in 1.3.2 #69

Open
cbuchert opened this issue Dec 15, 2016 · 0 comments
Open

sass-lint lodash syntax error in 1.3.2 #69

cbuchert opened this issue Dec 15, 2016 · 0 comments

Comments

@cbuchert
Copy link

I'm implementing gulp-sass-lint exactly as described in readme.md:

var sassLint = require('gulp-sass-lint'),
  sassLintOptions = {/* All those sweet action sass-lint options */};

gulp.task('default', function() {
  // Task setup stuff.
  .sassLint(sassLintOptions)
  .sassLint.format()
 // Task finish stuff.
});

I'm running on a Vagrant box. In versions between 1.2.0 through 1.3.1, everything works great. In version 1.3.2, I'm getting the following error:

/vagrant/node_modules/sass-lint/node_modules/lodash/lodash.js:115
  var reFlag
            
SyntaxError: Invalid or unexpected token
    at Object.exports.runInThisContext (vm.js:76:16)
    at Module._compile (module.js:542:28)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/vagrant/node_modules/sass-lint/node_modules/globule/lib/globule.js:14:9)
    at Module._compile (module.js:570:32)

As a resolution to this issue, I forced 1.3.1 in my own package.json. Just figured I'd pass this along as an FYI. Thanks for making this package. We freaking love it. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant