{"action":"closed","issue":{"url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/166","labels_url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/166/comments","events_url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/166/events","html_url":"https://github.com/dlmanning/gulp-sass/issues/166","id":54281131,"number":166,"title":"Basic usage produces error with node-sass 2.0.0-beta","user":{"login":"xzyfer","id":579928,"avatar_url":"https://avatars.githubusercontent.com/u/579928?v=3","gravatar_id":"","url":"https://api.github.com/users/xzyfer","html_url":"https://github.com/xzyfer","followers_url":"https://api.github.com/users/xzyfer/followers","following_url":"https://api.github.com/users/xzyfer/following{/other_user}","gists_url":"https://api.github.com/users/xzyfer/gists{/gist_id}","starred_url":"https://api.github.com/users/xzyfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xzyfer/subscriptions","organizations_url":"https://api.github.com/users/xzyfer/orgs","repos_url":"https://api.github.com/users/xzyfer/repos","events_url":"https://api.github.com/users/xzyfer/events{/privacy}","received_events_url":"https://api.github.com/users/xzyfer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-14T03:49:26Z","updated_at":"2015-01-14T04:46:36Z","closed_at":"2015-01-14T04:46:36Z","body":"I'm using gulp-sass 1.3.0 with node-sass 2.0.0-beta with the following config\r\n\r\n```js\r\nvar gulp = require('gulp');\r\nvar sass = require('gulp-sass');\r\n\r\ngulp.task('sass', function () {\r\n    gulp.src('./assets/css/*.scss')\r\n        .pipe(sass({\r\n          includePaths: ['./assets/components', './assets/css']\r\n        }))\r\n        .pipe(gulp.dest('./web/dist/css'));\r\n});\r\n```\r\n\r\nRunning `gulp sass` produces the following error\r\n\r\n```\r\n/Users/michael/Projects/99designs/tasks/node_modules/gulp-sass/index.js:49\r\n        obj.map = obj.map.version ? obj.map : JSON.parse(sourceMap);\r\n                                                         ^\r\nReferenceError: sourceMap is not defined\r\n    at opts.success (/Users/michael/Projects/99designs/tasks/node_modules/gulp-sass/index.js:49:58)\r\n    at options.success (/Users/michael/Projects/99designs/tasks/node_modules/node-sass/lib/index.js:167:7)\r\n```\r\n\r\nLooking at the code in question the `sourceMap` appears to be undefined.\r\n\r\nhttps://github.com/dlmanning/gulp-sass/blob/master/index.js#L49"}}