{"action":"opened","issue":{"url":"https://api.github.com/repos/laravel/elixir/issues/491","repository_url":"https://api.github.com/repos/laravel/elixir","labels_url":"https://api.github.com/repos/laravel/elixir/issues/491/labels{/name}","comments_url":"https://api.github.com/repos/laravel/elixir/issues/491/comments","events_url":"https://api.github.com/repos/laravel/elixir/issues/491/events","html_url":"https://github.com/laravel/elixir/issues/491","id":151247470,"number":491,"title":"Gulp fail: \"map is not a function\"","user":{"login":"jbajou","id":9249644,"avatar_url":"https://avatars.githubusercontent.com/u/9249644?v=3","gravatar_id":"","url":"https://api.github.com/users/jbajou","html_url":"https://github.com/jbajou","followers_url":"https://api.github.com/users/jbajou/followers","following_url":"https://api.github.com/users/jbajou/following{/other_user}","gists_url":"https://api.github.com/users/jbajou/gists{/gist_id}","starred_url":"https://api.github.com/users/jbajou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbajou/subscriptions","organizations_url":"https://api.github.com/users/jbajou/orgs","repos_url":"https://api.github.com/users/jbajou/repos","events_url":"https://api.github.com/users/jbajou/events{/privacy}","received_events_url":"https://api.github.com/users/jbajou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-26T21:49:20Z","updated_at":"2016-04-26T21:49:20Z","closed_at":null,"body":"Hello,\r\n\r\nI'm trying to get Gulp running on a raspberry Pi 3 (under Rasbian) and I'm getting some trouble with the minify module.\r\n\r\nHere is the error I have after running gulp:\r\n```sh\r\nTypeError: map is not a function\r\n    at minify (/var/www/node_modules/laravel-elixir/dist/tasks/styles.js:62:12)\r\n    at Task.gulpTask (/var/www/node_modules/laravel-elixir/dist/tasks/styles.js:55:161)\r\n    at Task.definition (/var/www/node_modules/laravel-elixir/dist/tasks/styles.js:43:25)\r\n    at Task.run (/var/www/node_modules/laravel-elixir/dist/Task.js:148:25)\r\n    at Gulp.<anonymous> (/var/www/node_modules/laravel-elixir/dist/Task.js:193:67)\r\n    at module.exports (/var/www/node_modules/orchestrator/lib/runTask.js:34:7)\r\n    at Gulp.Orchestrator._runTask (/var/www/node_modules/orchestrator/index.js:273:3)\r\n    at Gulp.Orchestrator._runStep (/var/www/node_modules/orchestrator/index.js:214:10)\r\n    at Gulp.Orchestrator.start (/var/www/node_modules/orchestrator/index.js:134:8)\r\n    at runNextSet (/var/www/node_modules/run-sequence/index.js:88:16)\r\n```\r\nHere are my node, npm and gulp versions:\r\n```sh\r\n$ node -v\r\nv5.4.1\r\n$ npm -v\r\n3.3.12\r\n$ gulp -v\r\nCLI version 3.9.0\r\nLocal version 3.9.0\r\n```\r\n\r\n## What I tried so far\r\n### Downgrade node version\r\nI downgraded to a v3 of node because I read somewhere that it could be it. No luck\r\n### reinstall laravel-elixir and gulp\r\nI removed all the node_modules folder and run again `npm install`. No luck\r\n### Install vinyl-map module\r\nFrom what I understand from the code of `/var/www/node_modules/laravel-elixir/dist/tasks/styles.js` map comes from a require of vinyl-map. I tried to install this module with the following: `npm install vinyl-map`. It installed with success but didn't fix my issue.\r\n\r\n## Some thoughts\r\nI do have a few warnings during `npm install`, but since they are only warnings, I'm not sure if it's important or not:\r\n```sh\r\nnpm WARN deprecated graceful-fs@3.0.8: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.\r\nnpm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.\r\nnpm WARN deprecated graceful-fs@1.2.3: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.\r\nnpm WARN deprecated npmconf@2.1.2: this package has been reintegrated into npm and is now out of date with respect to npm\r\n```\r\n\r\nAny idea would be much appreciated, thanks a lot in advance for your help guys!"}}