{"action":"created","issue":{"url":"https://api.github.com/repos/Updater/jasmine-fail-fast/issues/4","repository_url":"https://api.github.com/repos/Updater/jasmine-fail-fast","labels_url":"https://api.github.com/repos/Updater/jasmine-fail-fast/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Updater/jasmine-fail-fast/issues/4/comments","events_url":"https://api.github.com/repos/Updater/jasmine-fail-fast/issues/4/events","html_url":"https://github.com/Updater/jasmine-fail-fast/issues/4","id":108122915,"number":4,"title":"Initialization fails with Error: TypeError: Object #<Object> has no method 'describe_'","user":{"login":"PhilippCh","id":966567,"avatar_url":"https://avatars.githubusercontent.com/u/966567?v=3","gravatar_id":"","url":"https://api.github.com/users/PhilippCh","html_url":"https://github.com/PhilippCh","followers_url":"https://api.github.com/users/PhilippCh/followers","following_url":"https://api.github.com/users/PhilippCh/following{/other_user}","gists_url":"https://api.github.com/users/PhilippCh/gists{/gist_id}","starred_url":"https://api.github.com/users/PhilippCh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhilippCh/subscriptions","organizations_url":"https://api.github.com/users/PhilippCh/orgs","repos_url":"https://api.github.com/users/PhilippCh/repos","events_url":"https://api.github.com/users/PhilippCh/events{/privacy}","received_events_url":"https://api.github.com/users/PhilippCh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2015-09-24T12:45:14Z","updated_at":"2016-12-12T04:08:54Z","closed_at":"2015-10-22T21:10:34Z","body":"I've added the lib via protractor, but upon starting I receive the following error message and my tests immediately quit:\n\n```\n[launcher] Error: TypeError: Object #<Object> has no method 'describe_'\n    at jasmine.Env.describe (/Users/philipp/entwicklung/sptablet-webapps/voucher-webapp/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/minijasminenode/lib/jasmine-1.3.1.js:898:15)\n    at [object Object].<anonymous> (/Users/philipp/entwicklung/sptablet-webapps/voucher-webapp/node_modules/jasmine-fail-fast/dist/jasmine-fail-fast.js:57:26)\n    at [object Object].wrapper [as describe] (/Users/philipp/entwicklung/sptablet-webapps/voucher-webapp/node_modules/jasmine-fail-fast/node_modules/lodash/index.js:3592:19)\n    at Object.exports.executeSpecs (/Users/philipp/entwicklung/sptablet-webapps/voucher-webapp/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/minijasminenode/lib/index.js:134:18)\n    at /Users/philipp/entwicklung/sptablet-webapps/voucher-webapp/node_modules/grunt-protractor-runner/node_modules/protractor/lib/frameworks/jasmine.js:82:14\n    at Function.promise (/Users/philipp/entwicklung/sptablet-webapps/voucher-webapp/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/q/q.js:650:9)\n    at /Users/philipp/entwicklung/sptablet-webapps/voucher-webapp/node_modules/grunt-protractor-runner/node_modules/protractor/lib/frameworks/jasmine.js:63:14\n    at _fulfilled (/Users/philipp/entwicklung/sptablet-webapps/voucher-webapp/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/q/q.js:797:54)\n    at self.promiseDispatch.done (/Users/philipp/entwicklung/sptablet-webapps/voucher-webapp/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/q/q.js:826:30)\n    at Promise.promise.promiseDispatch (/Users/philipp/entwicklung/sptablet-webapps/voucher-webapp/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/q/q.js:759:13)\n[launcher] Process exited with error code 100\n```\n"},"comment":{"url":"https://api.github.com/repos/Updater/jasmine-fail-fast/issues/comments/266339144","html_url":"https://github.com/Updater/jasmine-fail-fast/issues/4#issuecomment-266339144","issue_url":"https://api.github.com/repos/Updater/jasmine-fail-fast/issues/4","id":266339144,"user":{"login":"skilesare","id":643387,"avatar_url":"https://avatars.githubusercontent.com/u/643387?v=3","gravatar_id":"","url":"https://api.github.com/users/skilesare","html_url":"https://github.com/skilesare","followers_url":"https://api.github.com/users/skilesare/followers","following_url":"https://api.github.com/users/skilesare/following{/other_user}","gists_url":"https://api.github.com/users/skilesare/gists{/gist_id}","starred_url":"https://api.github.com/users/skilesare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skilesare/subscriptions","organizations_url":"https://api.github.com/users/skilesare/orgs","repos_url":"https://api.github.com/users/skilesare/repos","events_url":"https://api.github.com/users/skilesare/events{/privacy}","received_events_url":"https://api.github.com/users/skilesare/received_events","type":"User","site_admin":false},"created_at":"2016-12-12T04:08:54Z","updated_at":"2016-12-12T04:08:54Z","body":"I had this same issue.  A little more info:\r\n\r\nI have two specs in my spec folder, A.js and B.js.   When I include the code\r\n\r\nvar failFast = require('jasmine-fail-fast');\r\njasmine.getEnv().addReporter(failFast.init());\r\n\r\nin both, I get this error:\r\n\r\nException loading: /Users/austin/Documents/Dropbox/development/Rivvir/BIM2017/spec/configuration_spec.js\r\nTypeError: this.describe_ is not a function\r\n  at jasmine.Env.describe (/Users/austin/Documents/Dropbox/development/Rivvir/BIM2017/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:869:15)\r\n  at .<anonymous> (/Users/austin/Documents/Dropbox/development/Rivvir/BIM2017/node_modules/jasmine-fail-fast/dist/jasmine-fail-fast.js:57:26)\r\n  at wrapper [as describe] (/Users/austin/Documents/Dropbox/development/Rivvir/BIM2017/node_modules/lodash/index.js:3592:19)\r\n  at describe (/Users/austin/Documents/Dropbox/development/Rivvir/BIM2017/node_modules/jasmine-node/lib/jasmine-node/jasmine-1.3.1.js:629:27)\r\n  at Object.<anonymous> (/Users/austin/Documents/Dropbox/development/Rivvir/BIM2017/spec/configuration_spec.js:11:3)\r\n  at Object.<anonymous> (/Users/austin/Documents/Dropbox/development/Rivvir/BIM2017/spec/configuration_spec.js:40:4)\r\n  at Module._compile (module.js:541:32)\r\n  at Object.Module._extensions..js (module.js:550:10)\r\n\r\nIf I just have one file it works fine!\r\n\r\nI tried moving the code to helpers.js file and it caused the same issue.  Something about running the code twice causes some issues.  I suspect maybe too many reporters?\r\n\r\nI'm using jasmine-node so maybe that is where the conflict lies?\r\n\r\n"}}
{"actor":{"display_login":"skilesare"}}