{"action":"created","issue":{"url":"https://api.github.com/repos/million12/M12.FoundationSite/issues/2","repository_url":"https://api.github.com/repos/million12/M12.FoundationSite","labels_url":"https://api.github.com/repos/million12/M12.FoundationSite/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/million12/M12.FoundationSite/issues/2/comments","events_url":"https://api.github.com/repos/million12/M12.FoundationSite/issues/2/events","html_url":"https://github.com/million12/M12.FoundationSite/issues/2","id":140752169,"number":2,"title":"Error during gulp setup","user":{"login":"achim71","id":1905532,"avatar_url":"https://avatars.githubusercontent.com/u/1905532?v=3","gravatar_id":"","url":"https://api.github.com/users/achim71","html_url":"https://github.com/achim71","followers_url":"https://api.github.com/users/achim71/followers","following_url":"https://api.github.com/users/achim71/following{/other_user}","gists_url":"https://api.github.com/users/achim71/gists{/gist_id}","starred_url":"https://api.github.com/users/achim71/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achim71/subscriptions","organizations_url":"https://api.github.com/users/achim71/orgs","repos_url":"https://api.github.com/users/achim71/repos","events_url":"https://api.github.com/users/achim71/events{/privacy}","received_events_url":"https://api.github.com/users/achim71/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-14T18:04:07Z","updated_at":"2016-03-14T23:58:53Z","closed_at":null,"body":"Hello,\r\n\r\nI'm trying to install the M12.FoundationSite on an debian jessie based VM. I developed an site with that extention last year using neos-2.0 whom i try to update now.\r\nI start with an plain neos installation with the two packages added to composer.json. npm install and bower install pass without issues.\r\nRunning gulp setup fails with \r\n\r\n```\r\n.then(()=>{\r\n\r\nSyntaxError: Unexpected token )\r\n    at Module._compile (module.js:439:25)\r\n    at Object.Module._extensions..js (module.js:474:10)\r\n    at Module.load (module.js:356:32)\r\n    at Function.Module._load (module.js:312:12)\r\n    at Module.require (module.js:364:17)\r\n    at require (module.js:380:17)\r\n    at Liftoff.handleArguments (/usr/local/lib/node_modules/gulp/bin/gulp.js:116:3)\r\n    at Liftoff.<anonymous> (/usr/local/lib/node_modules/gulp/node_modules/liftoff/index.js:192:16)\r\n    at module.exports (/usr/local/lib/node_modules/gulp/node_modules/liftoff/node_modules/flagged-respawn/index.js:17:3)\r\n    at Liftoff.<anonymous> (/usr/local/lib/node_modules/gulp/node_modules/liftoff/index.js:185:9\r\n```\r\n\r\nI changed the line 64 in gulpfile.js into\r\n\r\n`.then( function () {`\r\n\r\nNow gulp setup fails with \r\n\r\n```\r\n[19:02:33] Using gulpfile /var/www/Neos-2.1/Packages/Sites/M12.FoundationSite/gulpfile.js\r\n[19:02:33] Starting 'assets'...\r\n[19:02:33] Finished 'assets' after 4.29 ms\r\n[19:02:33] Starting 'styles'...\r\n[19:02:35] Finished 'styles' after 1.65 s\r\n[19:02:35] Starting 'scripts-hinting'...\r\n[19:02:35] Starting 'scripts'...\r\n[19:02:36] Finished 'scripts-hinting' after 1.09 s\r\n[19:02:36] App.js 545.33 kB\r\n\r\nzlib.js:166\r\n    callback(null, buf);\r\n    ^\r\nTypeError: object is not a function\r\n    at Gzip.onEnd (zlib.js:166:5)\r\n    at Gzip.emit (events.js:117:20)\r\n    at _stream_readable.js:929:16\r\n    at process._tickCallback (node.js:419:13)\r\n\r\n```\r\nAt that point I'm abit lost.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/million12/M12.FoundationSite/issues/comments/196575849","html_url":"https://github.com/million12/M12.FoundationSite/issues/2#issuecomment-196575849","issue_url":"https://api.github.com/repos/million12/M12.FoundationSite/issues/2","id":196575849,"user":{"login":"achim71","id":1905532,"avatar_url":"https://avatars.githubusercontent.com/u/1905532?v=3","gravatar_id":"","url":"https://api.github.com/users/achim71","html_url":"https://github.com/achim71","followers_url":"https://api.github.com/users/achim71/followers","following_url":"https://api.github.com/users/achim71/following{/other_user}","gists_url":"https://api.github.com/users/achim71/gists{/gist_id}","starred_url":"https://api.github.com/users/achim71/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achim71/subscriptions","organizations_url":"https://api.github.com/users/achim71/orgs","repos_url":"https://api.github.com/users/achim71/repos","events_url":"https://api.github.com/users/achim71/events{/privacy}","received_events_url":"https://api.github.com/users/achim71/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T23:58:53Z","updated_at":"2016-03-14T23:58:53Z","body":"Of course.\r\n\r\nI start with an neos installation\r\n`./composer.phar create-project typo3/neos-base-distribution Neos-2.1`\r\n\r\nI add the following to compser.json \r\n\"require\": {\r\n       ....\r\n       \"m12/neos-foundation\": \"dev-master\",\r\n        \"m12/neos-foundation-site\": \"dev-master\"\r\n} \r\nand i remove the demosite package.\r\nAfterwards I run\r\n```\r\ncd Neos-2.1\r\n../composer.phar update\r\ncd Packages/Sites/M12.FoundationSite\r\nnpm install\r\nbower --allow-root install\r\ngulp setup\r\n\r\n```"}}