{"action":"closed","issue":{"url":"https://api.github.com/repos/laravel/elixir/issues/266","labels_url":"https://api.github.com/repos/laravel/elixir/issues/266/labels{/name}","comments_url":"https://api.github.com/repos/laravel/elixir/issues/266/comments","events_url":"https://api.github.com/repos/laravel/elixir/issues/266/events","html_url":"https://github.com/laravel/elixir/issues/266","id":103444293,"number":266,"title":"Error parsing laravel-elixir","user":{"login":"schel4ok","id":10367464,"avatar_url":"https://avatars.githubusercontent.com/u/10367464?v=3","gravatar_id":"","url":"https://api.github.com/users/schel4ok","html_url":"https://github.com/schel4ok","followers_url":"https://api.github.com/users/schel4ok/followers","following_url":"https://api.github.com/users/schel4ok/following{/other_user}","gists_url":"https://api.github.com/users/schel4ok/gists{/gist_id}","starred_url":"https://api.github.com/users/schel4ok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schel4ok/subscriptions","organizations_url":"https://api.github.com/users/schel4ok/orgs","repos_url":"https://api.github.com/users/schel4ok/repos","events_url":"https://api.github.com/users/schel4ok/events{/privacy}","received_events_url":"https://api.github.com/users/schel4ok/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-27T07:18:11Z","updated_at":"2015-09-08T14:42:22Z","closed_at":"2015-09-08T14:42:22Z","body":"finally I was succesfull to install npm, bower and gulp without any WARN, but anyway during gulp I have laravel-elixir error\r\n\r\nFirst of all I delete node_modules directory and nodejs package\r\n```\r\nroot@schel4ok:~# rm -r /usr/lib/node_modules\r\nroot@schel4ok:~# apt-get autoremove nodejs\r\nReading package lists... Done\r\nBuilding dependency tree\r\nReading state information... Done\r\nThe following packages will be REMOVED:\r\n  nodejs rlwrap\r\n0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.\r\nAfter this operation, 27.0 MB disk space will be freed.\r\nDo you want to continue? [Y/n] y\r\n(Reading database ... 38402 files and directories currently installed.)\r\nRemoving nodejs (0.12.7-1nodesource1~jessie1) ...\r\nRemoving rlwrap (0.41-1) ...\r\nProcessing triggers for man-db (2.7.0.2-5) ...\r\nroot@schel4ok:~# npm -v\r\n-bash: npm: command not found\r\n```\r\n\r\nthen I install nodejs\r\n```\r\nroot@schel4ok:~# apt-get install -y nodejs build-essential\r\nReading package lists... Done\r\nBuilding dependency tree\r\nReading state information... Done\r\nbuild-essential is already the newest version.\r\nThe following NEW packages will be installed:\r\n  nodejs rlwrap\r\n0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.\r\nNeed to get 0 B/5488 kB of archives.\r\nAfter this operation, 27.0 MB of additional disk space will be used.\r\nSelecting previously unselected package rlwrap.\r\n(Reading database ... 36083 files and directories currently installed.)\r\nPreparing to unpack .../rlwrap_0.41-1_amd64.deb ...\r\nUnpacking rlwrap (0.41-1) ...\r\nSelecting previously unselected package nodejs.\r\nPreparing to unpack .../nodejs_0.12.7-1nodesource1~jessie1_amd64.deb ...\r\nUnpacking nodejs (0.12.7-1nodesource1~jessie1) ...\r\nProcessing triggers for man-db (2.7.0.2-5) ...\r\nSetting up rlwrap (0.41-1) ...\r\nupdate-alternatives: using /usr/bin/rlwrap to provide /usr/bin/readline-editor (readline-editor) in auto mode\r\nSetting up nodejs (0.12.7-1nodesource1~jessie1) ...\r\nroot@schel4ok:~# \r\n```\r\n\r\nthen I install npm, bower and gulp globally without any WARN or ERROR\r\n```\r\nroot@schel4ok:~# npm install npm -g\r\n/usr/bin/npm -> /usr/lib/node_modules/npm/bin/npm-cli.js\r\nnpm@2.14.0 /usr/lib/node_modules/npm\r\nroot@schel4ok:~# npm install bower -g\r\n/usr/bin/bower -> /usr/lib/node_modules/bower/bin/bower\r\nbower@1.5.2 /usr/lib/node_modules/bower\r\n├── is-root@1.0.0\r\n├── junk@1.0.2\r\n├── stringify-object@1.0.1\r\n├── user-home@1.1.1\r\n├── chmodr@0.1.0\r\n├── abbrev@1.0.7\r\n├── archy@1.0.0\r\n├── opn@1.0.2\r\n├── bower-logger@0.2.2\r\n├── bower-endpoint-parser@0.2.2\r\n├── graceful-fs@3.0.8\r\n├── lockfile@1.0.1\r\n├── lru-cache@2.6.5\r\n├── nopt@3.0.3\r\n├── retry@0.6.1\r\n├── tmp@0.0.24\r\n├── request-progress@0.3.1 (throttleit@0.0.2)\r\n├── q@1.4.1\r\n├── semver@2.3.2\r\n├── shell-quote@1.4.3 (array-reduce@0.0.0, array-map@0.0.0, array-filter@0.0.1, jsonify@0.0.0)\r\n├── chalk@1.1.1 (escape-string-regexp@1.0.3, supports-color@2.0.0, ansi-styles@2.1.0, strip-ansi@3.0.0, has-ansi@2.0.0)\r\n├── bower-json@0.4.0 (intersect@0.0.3, deep-extend@0.2.11, graceful-fs@2.0.3)\r\n├── fstream@1.0.7 (inherits@2.0.1)\r\n├── which@1.1.1 (is-absolute@0.1.7)\r\n├── promptly@0.2.0 (read@1.0.7)\r\n├── p-throttler@0.1.1 (q@0.9.7)\r\n├── mkdirp@0.5.0 (minimist@0.0.8)\r\n├── glob@4.5.3 (inherits@2.0.1, once@1.3.2, inflight@1.0.4, minimatch@2.0.10)\r\n├── fstream-ignore@1.0.2 (inherits@2.0.1, minimatch@2.0.10)\r\n├── rimraf@2.4.3 (glob@5.0.14)\r\n├── tar-fs@1.8.1 (pump@1.0.0, tar-stream@1.2.1)\r\n├── insight@0.5.3 (object-assign@2.1.1, lodash.debounce@3.1.1, async@0.9.2, os-name@1.0.3, tough-cookie@0.12.1)\r\n├── decompress-zip@0.1.0 (mkpath@0.1.0, touch@0.0.3, readable-stream@1.1.13, binary@0.3.0)\r\n├── update-notifier@0.3.2 (is-npm@1.0.0, string-length@1.0.1, semver-diff@2.0.0, latest-version@1.0.1)\r\n├── request@2.53.0 (caseless@0.9.0, aws-sign2@0.5.0, stringstream@0.0.4, forever-agent@0.5.2, oauth-sign@0.6.0, tunnel-agent@0.4.1, isstream@0.1.2, json-stringify-safe@5.0.1, node-uuid@1.4.3, qs@2.3.3, combined-stream@0.0.7, form-data@0.2.0, mime-types@2.0.14, http-signature@0.10.1, bl@0.9.4, tough-cookie@2.0.0, hawk@2.3.1)\r\n├── github@0.2.4 (mime@1.3.4)\r\n├── bower-registry-client@0.3.0 (graceful-fs@2.0.3, request-replay@0.2.0, rimraf@2.2.8, lru-cache@2.3.1, async@0.2.10, mkdirp@0.3.5, request@2.51.0)\r\n├── cardinal@0.4.4 (ansicolors@0.2.1, redeyed@0.4.4)\r\n├── mout@0.11.0\r\n├── deep-sort-object@0.1.1 (mout@0.9.1)\r\n├── bower-config@0.6.1 (osenv@0.0.3, graceful-fs@2.0.3, optimist@0.6.1, mout@0.9.1)\r\n├── configstore@0.3.2 (object-assign@2.1.1, xdg-basedir@1.0.1, uuid@2.0.1, osenv@0.1.3, js-yaml@3.4.0)\r\n├── handlebars@2.0.0 (optimist@0.3.7, uglify-js@2.3.6)\r\n└── inquirer@0.8.0 (figures@1.3.5, ansi-regex@1.1.1, mute-stream@0.0.4, through@2.3.8, readline2@0.1.1, chalk@0.5.1, lodash@2.4.2, cli-color@0.3.3, rx@2.5.3)\r\nroot@schel4ok:~# npm install gulp -g\r\n/usr/bin/gulp -> /usr/lib/node_modules/gulp/bin/gulp.js\r\ngulp@3.9.0 /usr/lib/node_modules/gulp\r\n├── pretty-hrtime@1.0.0\r\n├── interpret@0.6.5\r\n├── deprecated@0.0.1\r\n├── archy@1.0.0\r\n├── tildify@1.1.0 (os-homedir@1.0.1)\r\n├── minimist@1.2.0\r\n├── v8flags@2.0.10 (user-home@1.1.1)\r\n├── chalk@1.1.1 (escape-string-regexp@1.0.3, supports-color@2.0.0, ansi-styles@2.1.0, strip-ansi@3.0.0, has-ansi@2.0.0)\r\n├── semver@4.3.6\r\n├── orchestrator@0.3.7 (sequencify@0.0.7, stream-consume@0.1.0, end-of-stream@0.1.5)\r\n├── liftoff@2.1.0 (extend@2.0.1, rechoir@0.6.2, flagged-respawn@0.3.1, resolve@1.1.6, findup-sync@0.2.1)\r\n├── gulp-util@3.0.6 (object-assign@3.0.0, array-differ@1.0.0, array-uniq@1.0.2, lodash._reescape@3.0.0, lodash._reevaluate@3.0.0, beeper@1.1.0, lodash._reinterpolate@3.0.0, replace-ext@0.0.1, vinyl@0.5.1, lodash.template@3.6.2, through2@2.0.0, multipipe@0.1.2, dateformat@1.0.11)\r\n└── vinyl-fs@0.3.13 (graceful-fs@3.0.8, strip-bom@1.0.0, defaults@1.0.2, vinyl@0.4.6, mkdirp@0.5.1, through2@0.6.5, glob-stream@3.1.18, glob-watcher@0.0.6)\r\n```\r\n\r\nthen I go to my laravel directory and according to http://laravel.com/docs/5.1/elixir#installation make *npm install* locally\r\n```\r\nroot@schel4ok:/var/www/mysite# npm install\r\nnpm WARN optional dep failed, continuing fsevents@0.3.8\r\nnpm WARN optional dep failed, continuing fsevents@0.3.8\r\nKilled\r\n```\r\n\r\nnext try\r\n```\r\nroot@schel4ok:/var/www/mysite# npm install\r\nnpm WARN unmet dependency /var/www/mysite/node_modules/laravel-elixir/node_modules/browserify requires glob@'^4.0.5' but will load\r\nnpm WARN unmet dependency /var/www/mysite/node_modules/laravel-elixir/node_modules/glob,\r\nnpm WARN unmet dependency which is version 5.0.14\r\nnpm WARN unmet dependency /var/www/mysite/node_modules/laravel-elixir/node_modules/gulp-phpspec/node_modules/jshint requires lodash@'3.7.x' but will load\r\nnpm WARN unmet dependency /var/www/mysite/node_modules/laravel-elixir/node_modules/gulp-phpspec/node_modules/lodash,\r\nnpm WARN unmet dependency which is version 3.10.1\r\nnpm WARN unmet dependency /var/www/mysite/node_modules/laravel-elixir/node_modules/gulp-phpspec/node_modules/gulp-logger/node_modules/gulp-util requires chalk@'^1.0.0' but will load\r\nnpm WARN unmet dependency /var/www/mysite/node_modules/laravel-elixir/node_modules/gulp-phpspec/node_modules/gulp-logger/node_modules/chalk,\r\nnpm WARN unmet dependency which is version 0.5.1\r\nnpm WARN unmet dependency /var/www/mysite/node_modules/laravel-elixir/node_modules/gulp-phpspec/node_modules/gulp-logger/node_modules/gulp-util requires through2@'^2.0.0' but will load\r\nnpm WARN unmet dependency /var/www/mysite/node_modules/laravel-elixir/node_modules/gulp-phpspec/node_modules/gulp-logger/node_modules/through2,\r\nnpm WARN unmet dependency which is version 0.5.1\r\nnpm WARN unmet dependency /var/www/mysite/node_modules/laravel-elixir/node_modules/gulp-phpunit/node_modules/gulp-util/node_modules/dateformat/node_modules/meow requires minimist@'^1.1.0' but will load\r\nnpm WARN unmet dependency /var/www/mysite/node_modules/laravel-elixir/node_modules/gulp-phpunit/node_modules/gulp-util/node_modules/minimist,\r\nnpm WARN unmet dependency which is version 0.2.0\r\nnpm WARN unmet dependency /var/www/mysite/node_modules/laravel-elixir/node_modules/gulp-rev-replace/node_modules/gulp-util/node_modules/dateformat/node_modules/meow requires minimist@'^1.1.0' but will load\r\nnpm WARN unmet dependency /var/www/mysite/node_modules/laravel-elixir/node_modules/gulp-rev-replace/node_modules/gulp-util/node_modules/minimist,\r\nnpm WARN unmet dependency which is version 0.2.0\r\nnpm WARN unmet dependency /var/www/mysite/node_modules/laravel-elixir/node_modules/watchify/node_modules/browserify requires glob@'^4.0.5' but will load\r\nnpm WARN unmet dependency /var/www/mysite/node_modules/laravel-elixir/node_modules/glob,\r\nnpm WARN unmet dependency which is version 5.0.14\r\nnpm WARN unmet dependency /var/www/mysite/node_modules/laravel-elixir/node_modules/watchify/node_modules/browserify requires through2@'^1.0.0' but will load\r\nnpm WARN unmet dependency /var/www/mysite/node_modules/laravel-elixir/node_modules/watchify/node_modules/through2,\r\nnpm WARN unmet dependency which is version 0.6.5\r\n```\r\n\r\nthen I try to compile my gulpfile.js and get error\r\n```\r\nroot@schel4ok:/var/www/mysite# gulp\r\nmodule.js:338\r\n    throw err;\r\n          ^\r\nError: Cannot find module 'core-util-is'\r\n    at Function.Module._resolveFilename (module.js:336:15)\r\n    at Function.Module._load (module.js:278:25)\r\n    at Module.require (module.js:365:17)\r\n    at require (module.js:384:17)\r\n    at Object.<anonymous> (/var/www/mysite/node_modules/gulp/node_modules/gulp-util/node_modules/through2/node_modules/readable-stream/lib/_stream_duplex.js:26:12)\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 it seems that problem in elixir"}}