{"action":"closed","issue":{"url":"https://api.github.com/repos/MadcapJake/fly-browserify/issues/2","repository_url":"https://api.github.com/repos/MadcapJake/fly-browserify","labels_url":"https://api.github.com/repos/MadcapJake/fly-browserify/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/MadcapJake/fly-browserify/issues/2/comments","events_url":"https://api.github.com/repos/MadcapJake/fly-browserify/issues/2/events","html_url":"https://github.com/MadcapJake/fly-browserify/issues/2","id":96729597,"number":2,"title":"Error: \"this.unwrap is not a function\"","user":{"login":"girvo","id":1305443,"avatar_url":"https://avatars.githubusercontent.com/u/1305443?v=3","gravatar_id":"","url":"https://api.github.com/users/girvo","html_url":"https://github.com/girvo","followers_url":"https://api.github.com/users/girvo/followers","following_url":"https://api.github.com/users/girvo/following{/other_user}","gists_url":"https://api.github.com/users/girvo/gists{/gist_id}","starred_url":"https://api.github.com/users/girvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/girvo/subscriptions","organizations_url":"https://api.github.com/users/girvo/orgs","repos_url":"https://api.github.com/users/girvo/repos","events_url":"https://api.github.com/users/girvo/events{/privacy}","received_events_url":"https://api.github.com/users/girvo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-23T05:06:07Z","updated_at":"2016-02-13T05:43:35Z","closed_at":"2016-02-13T05:43:35Z","body":"Hey there!\r\n\r\n```javascript\r\n// package.json\r\n{\r\n  \"devDependencies\": {\r\n    \"babelify\": \"^6.1.3\",\r\n    \"fly\": \"^0.3.4\",\r\n    \"fly-browserify\": \"^0.1.1\"\r\n  }\r\n}\r\n```\r\n\r\n```javascript\r\n// Flyfile.babel.js\r\nconst paths = {\r\n    dist: 'dist',\r\n    scripts: ['src/flox.js']\r\n}\r\n\r\nexport default async function() {\r\n    await console.log(\"Hello\")\r\n}\r\n\r\nexport async function build() {\r\n    await this.clear(paths.dist)\r\n    await this\r\n        .source(paths.scripts)\r\n        .browse({ transform: [require('babelify')] })\r\n        .concat(\"bundle.js\")\r\n        .target(paths.dist)\r\n}\r\n```\r\n\r\nAttempting to run the `build` task gives this:\r\n\r\n```sh\r\n$ fly build\r\n[15:04:15] Flying with /Users/josh/Work/Prototypes/flox/Flyfile.babel.js...\r\n[15:04:15] Starting \"build\"\r\n[15:04:16] build failed due to TypeError: this.unwrap is not a function\r\n```\r\n\r\nAny ideas?"}}