Npm issues with gulp branch

So I seemed to have done something terribly wrong with my machine and I don’t know what…

I’ve successfully built the gulp branch on another machine so I know it’s not Sage.

The errors I get on npm install are:

    npm WARN engine imagemin@3.1.0: wanted: {"node":">=0.10.0","npm":">=2.1.5"} (current: {"node":"0.10.36","npm":"1.4.28"})
 
> v8flags@1.0.8 install /Users/eric/Development/wp-dev/www/b2b/htdocs/wp-content/themes/banjos/node_modules/gulp/node_modules/v8flags
> node fetch.js

 
> ws@0.5.0 install /Users/eric/Development/wp-dev/www/b2b/htdocs/wp-content/themes/banjos/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)

  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
  SOLINK_MODULE(target) Release/bufferutil.node
  SOLINK_MODULE(target) Release/bufferutil.node: Finished
  CXX(target) Release/obj.target/validation/src/validation.o
  SOLINK_MODULE(target) Release/validation.node
  SOLINK_MODULE(target) Release/validation.node: Finished
npm WARN optional dep failed, continuing imagemin-jpegtran@4.1.0
npm WARN optional dep failed, continuing imagemin-pngquant@4.0.0
npm WARN optional dep failed, continuing imagemin-gifsicle@4.1.0
npm WARN optional dep failed, continuing imagemin-optipng@4.2.0

> fsevents@0.2.1 install /Users/eric/Development/wp-dev/www/b2b/htdocs/wp-content/themes/banjos/node_modules/gulp-pleeease/node_modules/pleeease/node_modules/chokidar/node_modules/fsevents
> node-gyp rebuild

  CXX(target) Release/obj.target/fse/fsevents.o
  SOLINK_MODULE(target) Release/fse.node
  SOLINK_MODULE(target) Release/fse.node: Finished

> ws@0.4.31 install /Users/eric/Development/wp-dev/www/b2b/htdocs/wp-content/themes/banjos/node_modules/browser-sync/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)

  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
  SOLINK_MODULE(target) Release/bufferutil.node
  SOLINK_MODULE(target) Release/bufferutil.node: Finished
  CXX(target) Release/obj.target/validation/src/validation.o
  SOLINK_MODULE(target) Release/validation.node
  SOLINK_MODULE(target) Release/validation.node: Finished

> node-sass@2.0.0-beta install /Users/eric/Development/wp-dev/www/b2b/htdocs/wp-content/themes/banjos/node_modules/gulp-sass/node_modules/node-sass
> node scripts/install.js

Binary downloaded and installed at /Users/eric/Development/wp-dev/www/b2b/htdocs/wp-content/themes/banjos/node_modules/gulp-sass/node_modules/node-sass/vendor/darwin-x64/binding.node

> node-sass@2.0.0-beta postinstall /Users/eric/Development/wp-dev/www/b2b/htdocs/wp-content/themes/banjos/node_modules/gulp-sass/node_modules/node-sass
> node scripts/build.js

npm ERR! EEXIST, open '/Users/eric/.npm/6fc4c7c8--npm-gulp-util-3-0-3-package-tgz.lock'
File exists: /Users/eric/.npm/6fc4c7c8--npm-gulp-util-3-0-3-package-tgz.lock
Move it away, and try again. 

npm ERR! System Darwin 13.4.0
npm ERR! command "/Users/eric/.nvm/v0.10.36/bin/node" "/Users/eric/.nvm/v0.10.36/bin/npm" "install"
npm ERR! cwd /Users/eric/Development/wp-dev/www/b2b/htdocs/wp-content/themes/banjos
npm ERR! node -v v0.10.36
npm ERR! npm -v 1.4.28
npm ERR! path /Users/eric/.npm/6fc4c7c8--npm-gulp-util-3-0-3-package-tgz.lock
npm ERR! code EEXIST
npm ERR! errno 47
npm ERR! not ok code 0

This is different then my original issues which I posted here: https://github.com/roots/roots/issues/1307

I did a cache clean, uninstalled node and npm, reinstalled stable nom version via nvm, and now the above is where I am at.

As a note, I can run 7.* grunt versions of Roots just fine. It’s only the gulp branch.

HAAALLLP…

@austin Im roping you in at your request.

What happens if you rm /Users/eric/.npm/6fc4c7c8--npm-gulp-util-3-0-3-package-tgz.lock and try again?

Ben actually is getting the same error on a new server he was provisioning…

oh man https://github.com/npm/npm/issues/6309

what happens if you update npm to the latest version?

Well the problem with that is that file seems to disappear as soon as npm stops… >.<

Its super maddening because I was setting next to another computer freshly rolled up in Yosemite and it all worked like a charm.

I thought about the npm version on my way home, and unfortunately didn’t check versions against the working computer, so I updated that, now I’m waiting to see, but it is running really slow and hasn’t really said anything yet. I can say that before it wasn’t downloading all modules with the above error, and now it seems to of at least grabbed the package.json devDependency list.

(Thats another weird issue I seem to be getting on this computer: I don’t see the normal stream of output from npm that I am used to. It wasn’t always like this on this computer either.)

Still waiting on the npm install to finish as I’ve typed all this, will report back when it finishes.

Sadly, no luck. You did happen to fix the imagemin issue, but now I seem to be back to the original error from github

❯❯❯ npm install                                                                                                                                                                     ◼ (git:8.0.0)
 
> v8flags@1.0.8 install /Users/eric/Development/wp-dev/www/b2b/htdocs/wp-content/themes/banjos/node_modules/gulp/node_modules/v8flags
> node fetch.js

 
> ws@0.5.0 install /Users/eric/Development/wp-dev/www/b2b/htdocs/wp-content/themes/banjos/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)

  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
  SOLINK_MODULE(target) Release/bufferutil.node
  SOLINK_MODULE(target) Release/bufferutil.node: Finished
  CXX(target) Release/obj.target/validation/src/validation.o
  SOLINK_MODULE(target) Release/validation.node
  SOLINK_MODULE(target) Release/validation.node: Finished
 
> fsevents@0.2.1 install /Users/eric/Development/wp-dev/www/b2b/htdocs/wp-content/themes/banjos/node_modules/gulp-pleeease/node_modules/pleeease/node_modules/chokidar/node_modules/fsevents
> node-gyp rebuild

  CXX(target) Release/obj.target/fse/fsevents.o
  SOLINK_MODULE(target) Release/fse.node
  SOLINK_MODULE(target) Release/fse.node: Finished
 
> ws@0.4.31 install /Users/eric/Development/wp-dev/www/b2b/htdocs/wp-content/themes/banjos/node_modules/browser-sync/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)

  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
  SOLINK_MODULE(target) Release/bufferutil.node
  SOLINK_MODULE(target) Release/bufferutil.node: Finished
  CXX(target) Release/obj.target/validation/src/validation.o
  SOLINK_MODULE(target) Release/validation.node
  SOLINK_MODULE(target) Release/validation.node: Finished
 
> node-sass@2.0.0-beta install /Users/eric/Development/wp-dev/www/b2b/htdocs/wp-content/themes/banjos/node_modules/gulp-sass/node_modules/node-sass
> node scripts/install.js

Binary downloaded and installed at /Users/eric/Development/wp-dev/www/b2b/htdocs/wp-content/themes/banjos/node_modules/gulp-sass/node_modules/node-sass/vendor/darwin-x64/binding.node
 
> node-sass@2.0.0-beta postinstall /Users/eric/Development/wp-dev/www/b2b/htdocs/wp-content/themes/banjos/node_modules/gulp-sass/node_modules/node-sass
> node scripts/build.js

npm ERR! cb() never called!

But a slightly different error on running gulp

Error: Cannot find module 'chalk'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/Users/eric/Development/wp-dev/www/b2b/htdocs/wp-content/themes/banjos/node_modules/browser-sync/node_modules/tfunk/index.js:3:18)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)

Im trying another project I manage that uses gulp and see if I get any issues.

Yet another strangeness that I just noticed. The directory that I am working out of is now full of strange files that don’t seem to have anything in them…

❯❯❯ ll -a                                                                                                                                                                           ◼ (git:8.0.0)
total 248
drwxr-xr-x  40 eric  staff   1.3K Feb  4 18:49 .
drwxr-xr-x   9 eric  staff   306B Feb  4 14:30 ..
-rw-r--r--@  1 eric  staff   6.0K Feb  4 15:55 .DS_Store
-rw-r--r--   1 eric  staff    38B Feb  4 14:31 .bowerrc
-rw-r--r--   1 eric  staff   167B Feb  4 14:31 .editorconfig
drwxr-xr-x  13 eric  staff   442B Feb  4 19:05 .git
-rw-r--r--   1 eric  staff   186B Feb  4 14:31 .gitignore
-rw-r--r--   1 eric  staff   1.8K Feb  4 14:31 .jscsrc
-rw-r--r--   1 eric  staff   236B Feb  4 14:31 .jshintrc
-rw-r--r--   1 eric  staff   373B Feb  4 14:31 .travis.yml
-rw-r--r--   1 eric  staff   410B Feb  4 14:31 404.php
-rw-r--r--   1 eric  staff    15K Feb  4 14:31 CHANGELOG.md
-rw-r--r--   1 eric  staff   4.3K Feb  4 14:31 CONTRIBUTING.md
-rw-r--r--   1 eric  staff   1.0K Feb  4 14:31 LICENSE.md
-rw-r--r--   1 eric  staff   4.4K Feb  4 14:31 README.md
drwxr-xr-x   7 eric  staff   238B Feb  4 14:31 assets
-rw-r--r--   1 eric  staff   1.0K Feb  4 14:31 base.php
-rw-r--r--   1 eric  staff   1.8K Feb  4 14:31 bower.json
drwxr-xr-x   5 eric  staff   170B Feb  4 14:47 bower_components
-rw-r--r--   1 eric  staff     0B Feb  4 18:49 fsevents@0.2.1
-rw-r--r--   1 eric  staff   1.1K Feb  4 14:31 functions.php
-rw-r--r--   1 eric  staff   7.1K Feb  4 14:31 gulpfile.js
-rw-r--r--   1 eric  staff   404B Feb  4 14:31 index.php
drwxr-xr-x   3 eric  staff   102B Feb  4 14:31 lang
drwxr-xr-x  12 eric  staff   408B Feb  4 14:31 lib
-rw-r--r--   1 eric  staff     0B Feb  4 18:49 node
-rw-r--r--   1 eric  staff     0B Feb  4 18:49 node-gyp
-rw-r--r--   1 eric  staff     0B Feb  4 18:49 node-sass@2.0.0-beta
drwxr-xr-x  29 eric  staff   986B Feb  4 18:45 node_modules
-rw-r--r--   1 eric  staff   1.3K Feb  4 14:31 package.json
-rw-r--r--   1 eric  staff   180B Feb  4 14:31 page.php
-rw-r--r--   1 eric  staff   1.8K Feb  4 14:31 ruleset.xml
-rw-r--r--   1 eric  staff   164B Feb  4 14:31 screenshot.png
-rw-r--r--   1 eric  staff    59B Feb  4 14:31 single.php
-rw-r--r--   1 eric  staff   397B Feb  4 14:31 style.css
-rw-r--r--   1 eric  staff   227B Feb  4 14:31 template-custom.php
drwxr-xr-x  13 eric  staff   442B Feb  4 14:31 templates
-rw-r--r--   1 eric  staff     0B Feb  4 18:49 v8flags@1.0.8
-rw-r--r--   1 eric  staff     0B Feb  4 18:49 ws@0.4.31
-rw-r--r--   1 eric  staff     0B Feb  4 18:49 ws@0.5.0

Not sure what they are or why they showed up.

I was able to get another project (bxslider) to at least work, but I did have new errors in that project when running npm install

> v8flags@1.0.8 install /Users/eric/Development/gulp-test/node_modules/gulp/node_modules/v8flags
> node fetch.js

npm WARN optional dep failed, continuing imagemin-gifsicle@4.1.0
npm WARN optional dep failed, continuing imagemin-optipng@4.2.0
npm WARN optional dep failed, continuing imagemin-pngquant@4.0.0
npm WARN optional dep failed, continuing imagemin-jpegtran@4.1.0
/
> fsevents@0.2.1 install /Users/eric/Development/gulp-test/node_modules/gulp-pleeease/node_modules/pleeease/node_modules/chokidar/node_modules/fsevents
> node-gyp rebuild

  CXX(target) Release/obj.target/fse/fsevents.o
  SOLINK_MODULE(target) Release/fse.node
  SOLINK_MODULE(target) Release/fse.node: Finished
npm ERR! Darwin 13.4.0
npm ERR! argv "node" "/Users/eric/.nvm/v0.10.36/bin/npm" "install"
npm ERR! node v0.10.36
npm ERR! npm  v2.4.1
npm ERR! path /Users/eric/Development/gulp-test/node_modules/imagemin-pngcrush/node_modules/pngcrush-bin/node_modules/bin-build/node_modules/decompress/node_modules/decompress-targz/node_modules/strip-dirs/node_modules/chalk/node_modules/ansi-styles
npm ERR! code EMFILE
npm ERR! errno 20

npm ERR! EMFILE, readdir '/Users/eric/Development/gulp-test/node_modules/imagemin-pngcrush/node_modules/pngcrush-bin/node_modules/bin-build/node_modules/decompress/node_modules/decompress-targz/node_modules/strip-dirs/node_modules/chalk/node_modules/ansi-styles'
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <http://github.com/npm/npm/issues>

Even though I get this error I still can run gulp successfully.

Side note but related: definitely going to recommend everyone stays on the latest version of npm: https://github.com/roots/roots/pull/1308

1.2.x is riddled with race conditions. Which is why this stuff is randomly failing on random platforms.

So just as a further troubleshooting note:

The machine that I have that everything works on is running:

npm -v
1.3.21
node -v
v0.10.24

Update:

Using nvm I rolled back from the latest stable which was:

node -v                                                                                                                                                                                 
v0.10.36
npm -v                                                                                                                                                                                   
2.4.1

To the versions listed above that work on another computer and I was able to successfully build and run gulp. I did however reintroduce the imagemin warning. Also the output still has some funny business in it that doesn’t happen on the other machine, but it still works afaik.

Here is the output just for note:

npm WARN engine imagemin@3.1.0: wanted: {"node":">=0.10.0","npm":">=2.1.5"} (current: {"node":"v0.10.24","npm":"1.3.21"})

> v8flags@1.0.8 install /Users/eric/Development/sage/node_modules/gulp/node_modules/v8flags
> node fetch.js


> fsevents@0.2.1 install /Users/eric/Development/sage/node_modules/gulp-pleeease/node_modules/pleeease/node_modules/chokidar/node_modules/fsevents
> node-gyp rebuild

  CXX(target) Release/obj.target/fse/fsevents.o
  SOLINK_MODULE(target) Release/fse.node
  SOLINK_MODULE(target) Release/fse.node: Finished

> ws@0.5.0 install /Users/eric/Development/sage/node_modules/browser-sync/node_modules/socket.io/node_modules/engine.io/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)

  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
  SOLINK_MODULE(target) Release/bufferutil.node
  SOLINK_MODULE(target) Release/bufferutil.node: Finished
  CXX(target) Release/obj.target/validation/src/validation.o
  SOLINK_MODULE(target) Release/validation.node
  SOLINK_MODULE(target) Release/validation.node: Finished

> ws@0.4.31 install /Users/eric/Development/sage/node_modules/browser-sync/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)

  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
  SOLINK_MODULE(target) Release/bufferutil.node
  SOLINK_MODULE(target) Release/bufferutil.node: Finished
  CXX(target) Release/obj.target/validation/src/validation.o
  SOLINK_MODULE(target) Release/validation.node
  SOLINK_MODULE(target) Release/validation.node: Finished

> pngquant-bin@2.0.3 postinstall /Users/eric/Development/sage/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-pngquant/node_modules/pngquant-bin
> node lib/install.js

  ✔ pngquant pre-build test passed successfully

> optipng-bin@2.0.4 postinstall /Users/eric/Development/sage/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin
> node lib/install.js

  ✔ optipng pre-build test passed successfully

> gifsicle@2.0.1 postinstall /Users/eric/Development/sage/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle
> node lib/install.js

  ✔ gifsicle pre-build test passed successfully


> pngcrush-bin@2.2.1 postinstall /Users/eric/Development/sage/node_modules/imagemin-pngcrush/node_modules/pngcrush-bin
> node lib/install.js

  ✔ pngcrush pre-build test passed successfully

> jpegtran-bin@2.0.2 postinstall /Users/eric/Development/sage/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin
> node lib/install.js

  ✔ jpegtran pre-build test passed successfully

> node-sass@2.0.0-beta install /Users/eric/Development/sage/node_modules/gulp-sass/node_modules/node-sass
> node scripts/install.js

Binary downloaded and installed at /Users/eric/Development/sage/node_modules/gulp-sass/node_modules/node-sass/vendor/darwin-x64/binding.node

> node-sass@2.0.0-beta postinstall /Users/eric/Development/sage/node_modules/gulp-sass/node_modules/node-sass
> node scripts/build.js

gulp-rename@1.2.0 node_modules/gulp-rename

traverse@0.6.6 node_modules/traverse

yargs@1.3.3 node_modules/yargs

lazypipe@0.2.2 node_modules/lazypipe
└── stream-combiner@0.2.1 (duplexer@0.1.1, through@2.3.6)

jshint-stylish@1.0.0 node_modules/jshint-stylish
├── log-symbols@1.0.1
├── text-table@0.2.0
├── string-length@1.0.0 (strip-ansi@2.0.1)
└── chalk@0.5.1 (escape-string-regexp@1.0.2, supports-color@0.2.0, ansi-styles@1.1.0, has-ansi@0.1.0, strip-ansi@0.3.0)

merge-stream@0.1.7 node_modules/merge-stream
└── through2@0.6.3 (xtend@4.0.0, readable-stream@1.0.33)

del@1.1.1 node_modules/del
├── is-path-cwd@1.0.0
├── object-assign@2.0.0
├── rimraf@2.2.8
├── each-async@1.1.1 (set-immediate-shim@1.0.0, onetime@1.0.0)
├── is-path-in-cwd@1.0.0 (is-path-inside@1.0.0)
└── globby@1.1.0 (async@0.9.0, array-union@1.0.1, minimatch@2.0.1, glob@4.3.5)

gulp-sourcemaps@1.3.0 node_modules/gulp-sourcemaps
├── convert-source-map@0.4.1
├── vinyl@0.4.6 (clone-stats@0.0.1, clone@0.2.0)
└── through2@0.6.3 (xtend@4.0.0, readable-stream@1.0.33)

gulp-flatten@0.0.4 node_modules/gulp-flatten
├── through2@0.6.3 (xtend@4.0.0, readable-stream@1.0.33)
└── gulp-util@3.0.3 (array-differ@1.0.0, beeper@1.0.0, array-uniq@1.0.2, object-assign@2.0.0, replace-ext@0.0.1, minimist@1.1.0, vinyl@0.4.6, lodash.reescape@3.0.1, lodash.reinterpolate@3.0.1, lodash.reevaluate@3.0.1, chalk@0.5.1, dateformat@1.0.11, lodash.template@3.0.1, multipipe@0.1.2)

gulp-plumber@0.6.6 node_modules/gulp-plumber
├── gulp-util@3.0.3 (array-differ@1.0.0, object-assign@2.0.0, beeper@1.0.0, array-uniq@1.0.2, replace-ext@0.0.1, lodash.reinterpolate@3.0.1, chalk@0.5.1, lodash.reescape@3.0.1, lodash.reevaluate@3.0.1, vinyl@0.4.6, minimist@1.1.0, lodash.template@3.0.1, dateformat@1.0.11, multipipe@0.1.2)
└── through2@0.6.3 (xtend@4.0.0, readable-stream@1.0.33)

gulp-if@1.2.5 node_modules/gulp-if
├── gulp-match@0.2.1 (minimatch@1.0.0)
├── ternary-stream@1.2.3 (fork-stream@0.0.4, duplexer2@0.0.2)
└── through2@0.6.3 (xtend@4.0.0, readable-stream@1.0.33)

gulp-concat@2.4.3 node_modules/gulp-concat
├── through@2.3.6
├── concat-with-sourcemaps@1.0.0 (source-map@0.1.43)
└── gulp-util@3.0.3 (object-assign@2.0.0, beeper@1.0.0, replace-ext@0.0.1, array-differ@1.0.0, array-uniq@1.0.2, vinyl@0.4.6, lodash.reinterpolate@3.0.1, lodash.reevaluate@3.0.1, lodash.reescape@3.0.1, chalk@0.5.1, dateformat@1.0.11, lodash.template@3.0.1, through2@0.6.3, minimist@1.1.0, multipipe@0.1.2)

gulp-rev@3.0.0 node_modules/gulp-rev
├── object-assign@2.0.0
├── vinyl-file@1.1.1 (graceful-fs@3.0.5, vinyl@0.4.6, strip-bom@1.0.0)
├── through2@0.6.3 (xtend@4.0.0, readable-stream@1.0.33)
└── gulp-util@3.0.3 (array-uniq@1.0.2, array-differ@1.0.0, beeper@1.0.0, replace-ext@0.0.1, vinyl@0.4.6, lodash.reinterpolate@3.0.1, lodash.reevaluate@3.0.1, lodash.reescape@3.0.1, chalk@0.5.1, minimist@1.1.0, lodash.template@3.0.1, dateformat@1.0.11, multipipe@0.1.2)

gulp-changed@1.1.1 node_modules/gulp-changed
├── through2@0.6.3 (xtend@4.0.0, readable-stream@1.0.33)
└── gulp-util@3.0.3 (array-differ@1.0.0, object-assign@2.0.0, beeper@1.0.0, array-uniq@1.0.2, replace-ext@0.0.1, lodash.reinterpolate@3.0.1, minimist@1.1.0, lodash.reevaluate@3.0.1, lodash.reescape@3.0.1, chalk@0.5.1, dateformat@1.0.11, lodash.template@3.0.1, vinyl@0.4.6, multipipe@0.1.2)

gulp-uglify@1.1.0 node_modules/gulp-uglify
├── deepmerge@0.2.7
├── through2@0.6.3 (xtend@4.0.0, readable-stream@1.0.33)
├── uglify-js@2.4.16 (uglify-to-browserify@1.0.2, async@0.2.10, optimist@0.3.7, source-map@0.1.34)
├── vinyl-sourcemaps-apply@0.1.4 (source-map@0.1.43)
└── gulp-util@3.0.3 (object-assign@2.0.0, array-uniq@1.0.2, beeper@1.0.0, array-differ@1.0.0, lodash.reevaluate@3.0.1, replace-ext@0.0.1, vinyl@0.4.6, lodash.reescape@3.0.1, chalk@0.5.1, lodash.reinterpolate@3.0.1, lodash.template@3.0.1, minimist@1.1.0, dateformat@1.0.11, multipipe@0.1.2)

asset-builder@0.3.5 node_modules/asset-builder
├── object-path@0.9.0
├── minimatch@2.0.1 (brace-expansion@1.1.0)
├── lodash@3.1.0
└── main-bower-files@2.5.0 (strip-json-comments@1.0.2, colors@0.6.2, minimatch@1.0.0, glob@4.3.5, globule@0.2.0)

gulp@3.8.10 node_modules/gulp
├── pretty-hrtime@0.2.2
├── interpret@0.3.10
├── deprecated@0.0.1
├── archy@1.0.0
├── minimist@1.1.0
├── semver@4.2.0
├── v8flags@1.0.8
├── tildify@1.0.0 (user-home@1.1.1)
├── orchestrator@0.3.7 (stream-consume@0.1.0, sequencify@0.0.7, end-of-stream@0.1.5)
├── chalk@0.5.1 (ansi-styles@1.1.0, escape-string-regexp@1.0.2, supports-color@0.2.0, strip-ansi@0.3.0, has-ansi@0.1.0)
├── gulp-util@3.0.3 (object-assign@2.0.0, array-differ@1.0.0, array-uniq@1.0.2, beeper@1.0.0, lodash.reescape@3.0.1, lodash.reevaluate@3.0.1, replace-ext@0.0.1, lodash.reinterpolate@3.0.1, vinyl@0.4.6, dateformat@1.0.11, lodash.template@3.0.1, through2@0.6.3, multipipe@0.1.2)
├── vinyl-fs@0.3.13 (graceful-fs@3.0.5, strip-bom@1.0.0, defaults@1.0.0, vinyl@0.4.6, mkdirp@0.5.0, through2@0.6.3, glob-stream@3.1.18, glob-watcher@0.0.6)
└── liftoff@0.13.6 (extend@1.3.0, flagged-respawn@0.3.1, resolve@1.0.0, findup-sync@0.1.3)

gulp-load-plugins@0.8.0 node_modules/gulp-load-plugins
├── multimatch@1.0.0 (array-differ@1.0.0, array-union@1.0.1, minimatch@1.0.0)
└── findup-sync@0.1.3 (glob@3.2.11, lodash@2.4.1)

browser-sync@1.9.1 node_modules/browser-sync
├── emitter-steward@0.0.1
├── opt-merger@1.1.0
├── easy-extender@2.2.0
├── commander@2.6.0
├── opn@1.0.1
├── object-path@0.8.1
├── ua-parser-js@0.7.3
├── tfunk@3.0.1 (object-path@0.9.0, chalk@0.5.1)
├── browser-sync-client@1.0.1
├── resp-modifier@1.0.2 (minimatch@2.0.1)
├── connect@3.3.4 (utils-merge@1.0.0, parseurl@1.3.0, debug@2.1.1, finalhandler@0.3.3)
├── glob-watcher@0.0.7 (gaze@0.5.1)
├── serve-static@1.8.1 (utils-merge@1.0.0, escape-html@1.0.1, parseurl@1.3.0, send@0.11.1)
├── serve-index@1.6.1 (parseurl@1.3.0, batch@0.5.2, debug@2.1.1, http-errors@1.2.8, accepts@1.2.3, mime-types@2.0.8)
├── portscanner-plus@0.2.0 (q@1.0.1, portscanner@0.2.3)
├── foxy@7.1.0 (cookie@0.1.2, dev-ip@1.0.1, meow@2.1.0, immutable@3.6.2, http-proxy@1.8.1)
├── lodash@2.4.1
├── eazy-logger@2.1.1 (lodash@3.1.0)
├── dev-ip@0.1.7 (lodash@2.2.1)
├── minimist@1.1.0
├── localtunnel@1.5.0 (debug@0.7.4, optimist@0.3.4, request@2.11.4)
└── socket.io@1.3.3 (debug@2.1.0, has-binary-data@0.1.3, socket.io-parser@2.2.3, socket.io-adapter@0.3.1, engine.io@1.5.1, socket.io-client@1.3.3)

gulp-jshint@1.9.2 node_modules/gulp-jshint
├── through2@0.6.3 (xtend@4.0.0, readable-stream@1.0.33)
├── minimatch@2.0.1 (brace-expansion@1.1.0)
├── gulp-util@3.0.3 (array-differ@1.0.0, object-assign@2.0.0, array-uniq@1.0.2, beeper@1.0.0, replace-ext@0.0.1, lodash.reescape@3.0.1, lodash.reevaluate@3.0.1, lodash.reinterpolate@3.0.1, vinyl@0.4.6, lodash.template@3.0.1, chalk@0.5.1, dateformat@1.0.11, multipipe@0.1.2, minimist@1.1.0)
├── rcloader@0.1.2 (rcfinder@0.1.8, lodash@2.4.1)
├── lodash@3.1.0
└── jshint@2.6.0 (strip-json-comments@1.0.2, underscore@1.6.0, exit@0.1.2, minimatch@1.0.0, shelljs@0.3.0, console-browserify@1.1.0, cli@0.6.5, htmlparser2@3.8.2)

wiredep@2.2.2 node_modules/wiredep
├── propprop@0.3.0
├── chalk@0.5.1 (escape-string-regexp@1.0.2, ansi-styles@1.1.0, supports-color@0.2.0, strip-ansi@0.3.0, has-ansi@0.1.0)
├── glob@4.3.5 (inherits@2.0.1, once@1.3.1, inflight@1.0.4, minimatch@2.0.1)
├── through2@0.6.3 (xtend@4.0.0, readable-stream@1.0.33)
├── lodash@2.4.1
├── minimist@1.1.0
└── bower-config@0.5.2 (osenv@0.0.3, graceful-fs@2.0.3, optimist@0.6.1, mout@0.9.1)

gulp-less@2.0.1 node_modules/gulp-less
├── convert-source-map@0.4.1
├── through2@0.6.3 (xtend@4.0.0, readable-stream@1.0.33)
├── lodash.defaults@2.4.1 (lodash._objecttypes@2.4.1, lodash.keys@2.4.1)
├── gulp-util@3.0.3 (array-differ@1.0.0, beeper@1.0.0, array-uniq@1.0.2, object-assign@2.0.0, replace-ext@0.0.1, minimist@1.1.0, lodash.reinterpolate@3.0.1, lodash.reevaluate@3.0.1, lodash.reescape@3.0.1, vinyl@0.4.6, lodash.template@3.0.1, chalk@0.5.1, multipipe@0.1.2, dateformat@1.0.11)
├── vinyl-sourcemaps-apply@0.1.4 (source-map@0.1.43)
└── less@2.3.1 (graceful-fs@3.0.5, mime@1.2.11, image-size@0.3.5, promise@6.1.0, errno@0.1.1, mkdirp@0.5.0, source-map@0.2.0, request@2.53.0)

gulp-pleeease@1.1.0 node_modules/gulp-pleeease
├── through2@0.6.3 (xtend@4.0.0, readable-stream@1.0.33)
├── vinyl-sourcemaps-apply@0.1.4 (source-map@0.1.43)
├── gulp-util@3.0.3 (array-differ@1.0.0, array-uniq@1.0.2, object-assign@2.0.0, beeper@1.0.0, lodash.reescape@3.0.1, lodash.reevaluate@3.0.1, replace-ext@0.0.1, lodash.reinterpolate@3.0.1, minimist@1.1.0, vinyl@0.4.6, dateformat@1.0.11, chalk@0.5.1, lodash.template@3.0.1, multipipe@0.1.2)
└── pleeease@2.0.0 (commander@2.2.0, colors@0.6.2, deep-extend@0.2.11, css-mqpacker@2.1.1, postcss-custom-media@1.3.0, postcss-import@2.0.0, postcss-custom-properties@2.1.1, postcss-calc@2.1.0, mkdirp@0.4.2, pleeease-filters@0.1.5, postcss@3.0.7, postcss-color@1.0.1, csswring@2.1.0, chokidar@0.8.4, multi-glob@0.4.0, pixrem@1.1.0, autoprefixer-core@4.0.2)

imagemin-pngcrush@4.0.0 node_modules/imagemin-pngcrush
├── is-png@1.0.0
├── exec-buffer@1.1.2 (rimraf@2.2.8, tempfile@1.1.0)
├── through2@0.6.3 (xtend@4.0.0, readable-stream@1.0.33)
└── pngcrush-bin@2.2.1 (logalot@2.1.0, bin-wrapper@2.1.3, bin-build@2.1.1)

gulp-imagemin@2.1.0 node_modules/gulp-imagemin
├── object-assign@2.0.0
├── pretty-bytes@1.0.2 (get-stdin@1.0.0)
├── chalk@0.5.1 (escape-string-regexp@1.0.2, ansi-styles@1.1.0, supports-color@0.2.0, has-ansi@0.1.0, strip-ansi@0.3.0)
├── gulp-util@3.0.3 (array-differ@1.0.0, beeper@1.0.0, array-uniq@1.0.2, lodash.reescape@3.0.1, lodash.reinterpolate@3.0.1, replace-ext@0.0.1, lodash.reevaluate@3.0.1, through2@0.6.3, vinyl@0.4.6, lodash.template@3.0.1, dateformat@1.0.11, minimist@1.1.0, multipipe@0.1.2)
├── through2-concurrent@0.3.1 (through2@0.6.3)
└── imagemin@3.1.0 (get-stdin@3.0.2, optional@0.1.2, stream-combiner@0.2.1, vinyl@0.4.6, meow@2.1.0, concat-stream@1.4.7, through2@0.6.3, vinyl-fs@0.3.13, imagemin-svgo@4.1.0, imagemin-pngquant@4.0.0, imagemin-optipng@4.2.0, imagemin-gifsicle@4.1.0, imagemin-jpegtran@4.1.0)

gulp-sass@1.3.2 node_modules/gulp-sass
├── clone@0.1.19
├── map-stream@0.1.0
├── vinyl-sourcemaps-apply@0.1.4 (source-map@0.1.43)
├── gulp-util@3.0.3 (array-differ@1.0.0, array-uniq@1.0.2, beeper@1.0.0, object-assign@2.0.0, replace-ext@0.0.1, minimist@1.1.0, lodash.reinterpolate@3.0.1, lodash.reevaluate@3.0.1, lodash.reescape@3.0.1, vinyl@0.4.6, lodash.template@3.0.1, through2@0.6.3, chalk@0.5.1, multipipe@0.1.2, dateformat@1.0.11)
└── node-sass@2.0.0-beta (get-stdin@3.0.2, object-assign@2.0.0, replace-ext@0.0.1, nan@1.6.1, shelljs@0.3.0, cross-spawn@0.2.3, mkdirp@0.5.0, meow@2.1.0, chalk@0.5.1, request@2.53.0, gaze@0.5.1, mocha@2.1.0)

The imagemin warning is benign. Npm is a bit of a mess, so all those weird messages is expected.

I’m closely monitoring the build for errors and edgecases. I have been testing out of both a fresh mac osx yosemite virtual machine (revert back to fresh install snapshot after each attempt) and a fresh debian install. Everything is building fine. Travis has intermittent failures but it seems to be due to known issues with node-sass.

Hopefully this madness settles down soon.

Thanks for looking out.
I can confirm that

npm -v
1.3.21
node -v
v0.10.24

seems to build fine (with the mess above obviously), I cleaned and built it again. But switching to “stable” v0.10.36 node with npm 2.4.1 fails on random stuff consistently for me.

What if you reinstall the latest stable node?

using nvm forces me to the broken combo of node and npm. Consistent failure.
Is there an easy way to use nvm to update node but not npm?

Sorry, Im a little new to nvm.

Also to note: now that Im using nvm, I have to constantly use nvm use when opening up terminal. I thought I had my .zshrc setup right… apparently not… suggestions?

nvm alias default stable

I’ve set that but it still seems to not work. Also “stable” seems to be the root of my problem with 8.0.0, so i’ve aliased v0.10.24 for default for now.

Not sure if you resolved this or not @ewafford, but I was getting a very similar problem last night, which I managed to resolve today: https://github.com/roots/sage/issues/1356