{"action":"closed","issue":{"url":"https://api.github.com/repos/JoeCianflone/laravel-elixir-sass-compass/issues/9","labels_url":"https://api.github.com/repos/JoeCianflone/laravel-elixir-sass-compass/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/JoeCianflone/laravel-elixir-sass-compass/issues/9/comments","events_url":"https://api.github.com/repos/JoeCianflone/laravel-elixir-sass-compass/issues/9/events","html_url":"https://github.com/JoeCianflone/laravel-elixir-sass-compass/issues/9","id":100715063,"number":9,"title":"Compile Error Related to Accessing Elixir.Config and Elixir.Task where Undefined","user":{"login":"mtpultz","id":599498,"avatar_url":"https://avatars.githubusercontent.com/u/599498?v=3","gravatar_id":"","url":"https://api.github.com/users/mtpultz","html_url":"https://github.com/mtpultz","followers_url":"https://api.github.com/users/mtpultz/followers","following_url":"https://api.github.com/users/mtpultz/following{/other_user}","gists_url":"https://api.github.com/users/mtpultz/gists{/gist_id}","starred_url":"https://api.github.com/users/mtpultz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtpultz/subscriptions","organizations_url":"https://api.github.com/users/mtpultz/orgs","repos_url":"https://api.github.com/users/mtpultz/repos","events_url":"https://api.github.com/users/mtpultz/events{/privacy}","received_events_url":"https://api.github.com/users/mtpultz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-13T08:39:20Z","updated_at":"2015-08-13T09:02:29Z","closed_at":"2015-08-13T09:02:29Z","body":"I'm also having a compile error though a bit different:\r\n\r\n```\r\nd:\\projects\\project\\node_modules\\laravel-elixir-sass-compass\\index.js:14\r\n            javascript:  config.js.outputFolder,\r\n                                  ^\r\nTypeError: Cannot read property 'outputFolder' of undefined\r\n    at Object.compass (d:\\projects\\project\\node_modules\\laravel-elixir-sass-compass\\index.js:14:35)\r\n    at d:\\projects\\project\\gulpfile.js:20:9\r\n    at Elixir (d:\\projects\\project\\node_modules\\laravel-elixir\\index.js:3:5)\r\n    at Object.<anonymous> (d:\\projects\\project\\gulpfile.js:16:1)\r\n    at Module._compile (module.js:460:26)\r\n    at Object.Module._extensions..js (module.js:478:10)\r\n    at Module.load (module.js:355:32)\r\n    at Function.Module._load (module.js:310:12)\r\n    at Module.require (module.js:365:17)\r\n    at require (module.js:384:17)\r\n```\r\n\r\nIt appears to affect more than one config.  If I don't use the defaults and drop in my own object with configs the error persists preventing gulp from running.  If I change config.js.outputFolder to 'public/js' the error jumps to the next issue in the config:\r\n\r\n```                                   \r\nd:\\projects\\project\\node_modules\\laravel-elixir-sass-compass\\index.js:20\r\n            style:       config.css.sass.pluginOptions.outputStyle,\r\n                                   ^\r\nTypeError: Cannot read property 'sass' of undefined\r\n    at Object.compass (d:\\projects\\project\\node_modules\\laravel-elixir-sass-compass\\index.js:20:36)\r\n    at d:\\projects\\project\\gulpfile.js:20:9\r\n    at Elixir (d:\\projects\\project\\node_modules\\laravel-elixir\\index.js:3:5)\r\n    at Object.<anonymous> (d:\\projects\\project\\gulpfile.js:16:1)\r\n    at Module._compile (module.js:460:26)\r\n    at Object.Module._extensions..js (module.js:478:10)\r\n    at Module.load (module.js:355:32)\r\n    at Function.Module._load (module.js:310:12)\r\n    at Module.require (module.js:365:17)\r\n    at require (module.js:384:17)\r\n```\r\n\r\nSo I kept going and replaced that and the next issue with the proper paths.\r\n\r\n```\r\n    var defaultOptions = {\r\n            generated_images_path: false,\r\n            config_file: false,\r\n            javascript:  'public/js',\r\n            sourcemap:   false,\r\n            http_path:   false,\r\n            relative:    true,\r\n            comments:    true,\r\n            require:     false,\r\n            style:       'expanded',\r\n            image:       config.publicPath + '/images',\r\n            font:        config.publicPath + '/fonts',\r\n            sass:        'resources/assets/scss',\r\n            css:         output || config.css.outputFolder\r\n        };\r\n```\r\n\r\nBut then it throws an error on line 29:\r\n\r\n```\r\nd:\\projects\\project\\node_modules\\laravel-elixir-sass-compass\\index.js:29\r\n    new Task('compass', function() {\r\n        ^\r\nTypeError: undefined is not a function\r\n    at Object.compass (d:\\projects\\project\\node_modules\\laravel-elixir-sass-compass\\index.js:29:9)\r\n    at d:\\projects\\project\\gulpfile.js:20:9\r\n    at Elixir (d:\\projects\\project\\node_modules\\laravel-elixir\\index.js:3:5)\r\n    at Object.<anonymous> (d:\\projects\\project\\gulpfile.js:16:1)\r\n    at Module._compile (module.js:460:26)\r\n    at Object.Module._extensions..js (module.js:478:10)\r\n    at Module.load (module.js:355:32)\r\n    at Function.Module._load (module.js:310:12)\r\n    at Module.require (module.js:365:17)\r\n    at require (module.js:384:17)\r\n```"}}