Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still problems installing with node-gyp #197

Closed
meetmagdalene opened this issue Sep 18, 2014 · 15 comments
Closed

Still problems installing with node-gyp #197

meetmagdalene opened this issue Sep 18, 2014 · 15 comments

Comments

@meetmagdalene
Copy link

Hi all, I've already gone through all the suggestions in TooTallNate/node-gyp/issues/363 and I still cannot get a clean build.

I've tried deleting node-gyp, but doesn't help. I just run npm install --save hubot-hipchat again and it comes back because it is apart of the package.

I am at my wits end with this. Literally spent all day trying to find/try solutions. Any help would be greatly appreciated, maybe I've just been staring at it for too long.

This is my environment:
OSX v10.9.4
node -v v0.10.31
npm -v v1.4.24
hubot -v v2.8.1
python -v v2.7.8

Here is my exact output:

Magdalenes-MacBook-Air:Cortana MagdaleneBenson$ sudo npm install --save hubot-hipchat

> [email protected] install /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-xmpp-component/node_modules/node-xmpp-core/node_modules/node-stringprep
> node-gyp rebuild

  CXX(target) Release/obj.target/node_stringprep/node-stringprep.o
../node-stringprep.cc:2:10: fatal error: 'unicode/unistr.h' file not found
#include <unicode/unistr.h>
         ^
1 error generated.
make: *** [Release/obj.target/node_stringprep/node-stringprep.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:810:12)
gyp ERR! System Darwin 13.3.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-xmpp-component/node_modules/node-xmpp-core/node_modules/node-stringprep
gyp ERR! node -v v0.10.31
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok 

> [email protected] install /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-xmpp-core/node_modules/node-stringprep
> node-gyp rebuild

  SOLINK_MODULE(target) Release/node_stringprep.node
  SOLINK_MODULE(target) Release/node_stringprep.node: Finished
npm WARN optional dep failed, continuing [email protected]

> [email protected] install /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-expat
> node-gyp rebuild

  CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlparse.o
  CC(target) Release/obj.target/expat/deps/libexpat/lib/xmltok.o
../deps/libexpat/lib/xmltok.c:471:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:484:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:504:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:517:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:730:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:749:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:762:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:775:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:871:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:890:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
10 warnings generated.
  CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlrole.o
  LIBTOOL-STATIC Release/libexpat.a
  CXX(target) Release/obj.target/node_expat/node-expat.o
  SOLINK_MODULE(target) Release/node_expat.node
  SOLINK_MODULE(target) Release/node_expat.node: Finished

> [email protected] install /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-xmpp-component/node_modules/ltx/node_modules/node-expat
> node-gyp rebuild

  CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlparse.o
  CC(target) Release/obj.target/expat/deps/libexpat/lib/xmltok.o
../deps/libexpat/lib/xmltok.c:471:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:484:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:504:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:517:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:730:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:749:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:762:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:775:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:871:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:890:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
10 warnings generated.
  CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlrole.o
  LIBTOOL-STATIC Release/libexpat.a
  CXX(target) Release/obj.target/node_expat/node-expat.o
  SOLINK_MODULE(target) Release/node_expat.node
  SOLINK_MODULE(target) Release/node_expat.node: Finished

> [email protected] install /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-xmpp-server/node_modules/ltx/node_modules/node-expat
> node-gyp rebuild

  CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlparse.o
  CC(target) Release/obj.target/expat/deps/libexpat/lib/xmltok.o
../deps/libexpat/lib/xmltok.c:471:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:484:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:504:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:517:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:730:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:749:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:762:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:775:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:871:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:890:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
10 warnings generated.
  CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlrole.o
  LIBTOOL-STATIC Release/libexpat.a
  CXX(target) Release/obj.target/node_expat/node-expat.o
  SOLINK_MODULE(target) Release/node_expat.node
  SOLINK_MODULE(target) Release/node_expat.node: Finished

> [email protected] install /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-xmpp-core/node_modules/ltx/node_modules/node-expat
> node-gyp rebuild

  CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlparse.o
  CC(target) Release/obj.target/expat/deps/libexpat/lib/xmltok.o
../deps/libexpat/lib/xmltok.c:471:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:484:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:504:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:517:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:730:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:749:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:762:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:775:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:871:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:890:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
10 warnings generated.
  CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlrole.o
  LIBTOOL-STATIC Release/libexpat.a
  CXX(target) Release/obj.target/node_expat/node-expat.o
  SOLINK_MODULE(target) Release/node_expat.node
  SOLINK_MODULE(target) Release/node_expat.node: Finished

> [email protected] install /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-xmpp-client/node_modules/ltx/node_modules/node-expat
> node-gyp rebuild

  CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlparse.o
  CC(target) Release/obj.target/expat/deps/libexpat/lib/xmltok.o
../deps/libexpat/lib/xmltok.c:471:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:484:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:504:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:517:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:730:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:749:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:762:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:775:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:871:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:890:1: warning: missing field 'isName2' initializer
      [-Wmissing-field-initializers]
};
^
10 warnings generated.
  CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlrole.o
  LIBTOOL-STATIC Release/libexpat.a
  CXX(target) Release/obj.target/node_expat/node-expat.o
  SOLINK_MODULE(target) Release/node_expat.node
  SOLINK_MODULE(target) Release/node_expat.node: Finished
[email protected] node_modules/hubot-hipchat
├── [email protected]
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
@rbergman
Copy link
Contributor

Have you installed icu?

brew install icu4c

@meetmagdalene
Copy link
Author

Just double checked. I do have it installed already from one of those other troubleshooting guides. Same results.

brew install icu4c
Warning: icu4c-53.1 already installed

@meetmagdalene
Copy link
Author

OK I did just figure out how to link it up maybe I had forgotten that step but I have to use --force.

brew link icu4c
Warning: icu4c is keg-only and must be linked with --force
brew link icu4c --force
Linking /usr/local/Cellar/icu4c/53.1... 71 symlinks created

But still the same/similar errors when reaching this point:
sudo npm install --save hubot-hipchat

> [email protected] install /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-xmpp-core/node_modules/node-stringprep
> node-gyp rebuild

  CXX(target) Release/obj.target/node_stringprep/node-stringprep.o
../node-stringprep.cc:2:10: fatal error: 'unicode/unistr.h' file not found
#include <unicode/unistr.h>
         ^
1 error generated.
make: *** [Release/obj.target/node_stringprep/node-stringprep.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:810:12)
gyp ERR! System Darwin 13.3.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-xmpp-core/node_modules/node-stringprep
gyp ERR! node -v v0.10.31
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok 

> [email protected] install /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-xmpp-component/node_modules/node-xmpp-core/node_modules/node-stringprep
> node-gyp rebuild


-
























Traceback (most recent call last):
  File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 18, in <module>
    sys.exit(gyp.script_main())
  File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 534, in script_main
    return main(sys.argv[1:])
  File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 527, in main
    return gyp_main(args)
  File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 512, in gyp_main
    generator.GenerateOutput(flat_list, targets, data, params)
  File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 2138, in GenerateOutput
    os.path.dirname(makefile_path))
  File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common.py", line 25, in __call__
    result = self.func(*args)
  File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common.py", line 139, in RelativePath
    path = os.path.realpath(path)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py", line 368, in realpath
    return abspath(path)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py", line 356, in abspath
    cwd = os.getcwd()
OSError: [Errno 2] No such file or directory
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:343:16)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:810:12)
gyp ERR! System Darwin 13.3.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-xmpp-component/node_modules/node-xmpp-core/node_modules/node-stringprep
gyp ERR! node -v v0.10.31
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok 
npm ERR! Error: ENOENT, chown '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/events/.zuul.yml'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "--save" "hubot-hipchat"
npm ERR! cwd /Users/MagdaleneBenson/Sites/Cortana
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.24
npm ERR! path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/events/.zuul.yml
npm ERR! fstream_path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/events/.zuul.yml
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! fstream_finish_call chown
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:305:19
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:143:7
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/util'
npm ERR! error rolling back  [email protected] { [Error: ENOTEMPTY, rmdir '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/util']
npm ERR! error rolling back   errno: 53,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   path: '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/util' }
npm ERR! EEXIST, mkdir '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/crypto-browserify'
File exists: /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/crypto-browserify
Move it away, and try again. 
npm ERR! System Darwin 13.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "--save" "hubot-hipchat"
npm ERR! cwd /Users/MagdaleneBenson/Sites/Cortana
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.24
npm ERR! path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/crypto-browserify
npm ERR! fstream_path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/crypto-browserify/md5.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code EEXIST
npm ERR! errno 47
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:171:23
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/mkdirp/index.js:46:53
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/querystring/package.json'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "--save" "hubot-hipchat"
npm ERR! cwd /Users/MagdaleneBenson/Sites/Cortana
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.24
npm ERR! path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/querystring/package.json
npm ERR! fstream_path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/querystring/package.json
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR! Error: ENOENT, lstat '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/browser-pack/test/order.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "--save" "hubot-hipchat"
npm ERR! cwd /Users/MagdaleneBenson/Sites/Cortana
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.24
npm ERR! path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/browser-pack/test/order.js
npm ERR! fstream_path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/browser-pack/test/order.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR! Error: ENOENT, lstat '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/through/test/buffering.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "--save" "hubot-hipchat"
npm ERR! cwd /Users/MagdaleneBenson/Sites/Cortana
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.24
npm ERR! path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/through/test/buffering.js
npm ERR! fstream_path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/through/test/buffering.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR! Error: ENOENT, chown '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/concat-stream/test/nothing.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "--save" "hubot-hipchat"
npm ERR! cwd /Users/MagdaleneBenson/Sites/Cortana
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.24
npm ERR! path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/concat-stream/test/nothing.js
npm ERR! fstream_path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/concat-stream/test/nothing.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! fstream_finish_call chown
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:305:19
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:143:7
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR! Error: ENOENT, chown '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/minimist/test/dash.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "--save" "hubot-hipchat"
npm ERR! cwd /Users/MagdaleneBenson/Sites/Cortana
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.24
npm ERR! path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/minimist/test/dash.js
npm ERR! fstream_path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/minimist/test/dash.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! fstream_finish_call chown
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:305:19
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:143:7
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR! Error: ENOENT, lstat '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/browser-resolve/example/resolve.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "--save" "hubot-hipchat"
npm ERR! cwd /Users/MagdaleneBenson/Sites/Cortana
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.24
npm ERR! path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/browser-resolve/example/resolve.js
npm ERR! fstream_path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/browser-resolve/example/resolve.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR! Error: ENOENT, lstat '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/zlib-browserify/zlib.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "--save" "hubot-hipchat"
npm ERR! cwd /Users/MagdaleneBenson/Sites/Cortana
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.24
npm ERR! path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/zlib-browserify/zlib.js
npm ERR! fstream_path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/zlib-browserify/zlib.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR! Error: ENOENT, open '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/module-deps/example/files/xyz.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "--save" "hubot-hipchat"
npm ERR! cwd /Users/MagdaleneBenson/Sites/Cortana
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.24
npm ERR! path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/module-deps/example/files/xyz.js
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! Error: ENOENT, open '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/vm-browserify/example/run/index.html'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "--save" "hubot-hipchat"
npm ERR! cwd /Users/MagdaleneBenson/Sites/Cortana
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.24
npm ERR! path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/vm-browserify/example/run/index.html
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! Error: ENOENT, lstat '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/assert/test.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "--save" "hubot-hipchat"
npm ERR! cwd /Users/MagdaleneBenson/Sites/Cortana
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.24
npm ERR! path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/assert/test.js
npm ERR! fstream_path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/assert/test.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR! Error: ENOENT, lstat '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/brfs/node_modules/escodegen/node_modules/esprima/esprima.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "--save" "hubot-hipchat"
npm ERR! cwd /Users/MagdaleneBenson/Sites/Cortana
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.24
npm ERR! path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/brfs/node_modules/escodegen/node_modules/esprima/esprima.js
npm ERR! fstream_path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/brfs/node_modules/escodegen/node_modules/esprima/esprima.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR! Error: ENOENT, lstat '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/timers-browserify/example/enroll/js/browserify.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "--save" "hubot-hipchat"
npm ERR! cwd /Users/MagdaleneBenson/Sites/Cortana
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.24
npm ERR! path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/timers-browserify/example/enroll/js/browserify.js
npm ERR! fstream_path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/timers-browserify/example/enroll/js/browserify.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR! Error: ENOENT, lstat '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/punycode/LICENSE-GPL.txt'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "--save" "hubot-hipchat"
npm ERR! cwd /Users/MagdaleneBenson/Sites/Cortana
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.24
npm ERR! path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/punycode/LICENSE-GPL.txt
npm ERR! fstream_path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/punycode/LICENSE-GPL.txt
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR! EEXIST, mkdir '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/JSONStream/test'
File exists: /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/JSONStream/test
Move it away, and try again. 
npm ERR! System Darwin 13.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "--save" "hubot-hipchat"
npm ERR! cwd /Users/MagdaleneBenson/Sites/Cortana
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.24
npm ERR! path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/JSONStream/test
npm ERR! fstream_path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/JSONStream/test/fn.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code EEXIST
npm ERR! errno 47
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:171:23
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/mkdirp/index.js:46:53
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/util'
npm ERR! error rolling back  [email protected] { [Error: ENOTEMPTY, rmdir '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/util']
npm ERR! error rolling back   errno: 53,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   path: '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/util' }
npm ERR! Error: ENOENT, lstat '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/native-buffer-browserify/bundle.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "--save" "hubot-hipchat"
npm ERR! cwd /Users/MagdaleneBenson/Sites/Cortana
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.24
npm ERR! path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/native-buffer-browserify/bundle.js
npm ERR! fstream_path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/native-buffer-browserify/bundle.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR! Error: ENOENT, lstat '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/insert-module-globals/readme.markdown'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "--save" "hubot-hipchat"
npm ERR! cwd /Users/MagdaleneBenson/Sites/Cortana
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.24
npm ERR! path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/insert-module-globals/readme.markdown
npm ERR! fstream_path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/insert-module-globals/readme.markdown
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR! Error: ENOENT, lstat '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/string_decoder/test/common.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "--save" "hubot-hipchat"
npm ERR! cwd /Users/MagdaleneBenson/Sites/Cortana
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.24
npm ERR! path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/string_decoder/test/common.js
npm ERR! fstream_path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/string_decoder/test/common.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR! Error: ENOENT, chown '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/util/test'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "--save" "hubot-hipchat"
npm ERR! cwd /Users/MagdaleneBenson/Sites/Cortana
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.24
npm ERR! path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/util/test
npm ERR! fstream_path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/util/test/browser/inspect.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! fstream_finish_call setupMadeDir
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack end (/usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:319:21)
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:336:20
npm ERR! fstream_stack next (/usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:366:20)
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:143:7
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules'
npm ERR! error rolling back  [email protected] { [Error: ENOTEMPTY, rmdir '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules']
npm ERR! error rolling back   errno: 53,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   path: '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules' }
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the node-stringprep package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls node-stringprep
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 13.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "--save" "hubot-hipchat"
npm ERR! cwd /Users/MagdaleneBenson/Sites/Cortana
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.24
npm ERR! code ELIFECYCLE
npm ERR! Error: ENOENT, lstat '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/stream-browserify/readable.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "--save" "hubot-hipchat"
npm ERR! cwd /Users/MagdaleneBenson/Sites/Cortana
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.24
npm ERR! path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/stream-browserify/readable.js
npm ERR! fstream_path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/stream-browserify/readable.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR! Error: ENOENT, lstat '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-xmpp-server/node_modules/ltx/node_modules/sax/examples/test.xml'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "--save" "hubot-hipchat"
npm ERR! cwd /Users/MagdaleneBenson/Sites/Cortana
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.24
npm ERR! path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-xmpp-server/node_modules/ltx/node_modules/sax/examples/test.xml
npm ERR! fstream_path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-xmpp-server/node_modules/ltx/node_modules/sax/examples/test.xml
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR! Error: ENOENT, lstat '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-expat/test-mystic-library.xml'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "--save" "hubot-hipchat"
npm ERR! cwd /Users/MagdaleneBenson/Sites/Cortana
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.24
npm ERR! path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-expat/test-mystic-library.xml
npm ERR! fstream_path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-expat/test-mystic-library.xml
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR! Error: ENOENT, lstat '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/http-browserify/inject.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "--save" "hubot-hipchat"
npm ERR! cwd /Users/MagdaleneBenson/Sites/Cortana
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.24
npm ERR! path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/http-browserify/inject.js
npm ERR! fstream_path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/browserify/node_modules/http-browserify/inject.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR! Error: ENOENT, lstat '/Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-xmpp-component/node_modules/ltx/node_modules/node-expat/test-mystic-library.xml'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Darwin 13.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "--save" "hubot-hipchat"
npm ERR! cwd /Users/MagdaleneBenson/Sites/Cortana
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.24
npm ERR! path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-xmpp-component/node_modules/ltx/node_modules/node-expat/test-mystic-library.xml
npm ERR! fstream_path /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-xmpp-component/node_modules/ltx/node_modules/node-expat/test-mystic-library.xml
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm WARN optional dep failed, continuing [email protected]
-
> [email protected] install /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-xmpp-server/node_modules/ltx/node_modules/node-expat
> node-gyp rebuild

  CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlparse.o
  CC(target) Release/obj.target/expat/deps/libexpat/lib/xmltok.o
../deps/libexpat/lib/xmltok.c:471:1: warning: missing field 'isName2'
      initializer [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:484:1: warning: missing field 'isName2'
      initializer [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:504:1: warning: missing field 'isName2'
      initializer [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:517:1: warning: missing field 'isName2'
      initializer [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:730:1: warning: missing field 'isName2'
      initializer [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:749:1: warning: missing field 'isName2'
      initializer [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:762:1: warning: missing field 'isName2'
      initializer [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:775:1: warning: missing field 'isName2'
      initializer [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:871:1: warning: missing field 'isName2'
      initializer [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:890:1: warning: missing field 'isName2'
      initializer [-Wmissing-field-initializers]
};
^
10 warnings generated.
  CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlrole.o
  LIBTOOL-STATIC Release/libexpat.a
  CXX(target) Release/obj.target/node_expat/node-expat.o
  SOLINK_MODULE(target) Release/node_expat.node
  SOLINK_MODULE(target) Release/node_expat.node: Finished

> [email protected] install /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-xmpp-core/node_modules/ltx/node_modules/node-expat
> node-gyp rebuild

  CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlparse.o
  CC(target) Release/obj.target/expat/deps/libexpat/lib/xmltok.o
../deps/libexpat/lib/xmltok.c:471:1: warning: missing field 'isName2'
      initializer [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:484:1: warning: missing field 'isName2'
      initializer [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:504:1: warning: missing field 'isName2'
      initializer [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:517:1: warning: missing field 'isName2'
      initializer [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:730:1: warning: missing field 'isName2'
      initializer [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:749:1: warning: missing field 'isName2'
      initializer [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:762:1: warning: missing field 'isName2'
      initializer [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:775:1: warning: missing field 'isName2'
      initializer [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:871:1: warning: missing field 'isName2'
      initializer [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:890:1: warning: missing field 'isName2'
      initializer [-Wmissing-field-initializers]
};
^
10 warnings generated.
  CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlrole.o
  LIBTOOL-STATIC Release/libexpat.a
  CXX(target) Release/obj.target/node_expat/node-expat.o
  SOLINK_MODULE(target) Release/node_expat.node
  SOLINK_MODULE(target) Release/node_expat.node: Finished

> [email protected] install /Users/MagdaleneBenson/Sites/Cortana/node_modules/hubot-hipchat/node_modules/node-xmpp/node_modules/node-xmpp-client/node_modules/ltx/node_modules/node-expat
> node-gyp rebuild

  CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlparse.o
  CC(target) Release/obj.target/expat/deps/libexpat/lib/xmltok.o
../deps/libexpat/lib/xmltok.c:471:1: warning: missing field 'isName2'
      initializer [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:484:1: warning: missing field 'isName2'
      initializer [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:504:1: warning: missing field 'isName2'
      initializer [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:517:1: warning: missing field 'isName2'
      initializer [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:730:1: warning: missing field 'isName2'
      initializer [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:749:1: warning: missing field 'isName2'
      initializer [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:762:1: warning: missing field 'isName2'
      initializer [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:775:1: warning: missing field 'isName2'
      initializer [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:871:1: warning: missing field 'isName2'
      initializer [-Wmissing-field-initializers]
};
^
../deps/libexpat/lib/xmltok.c:890:1: warning: missing field 'isName2'
      initializer [-Wmissing-field-initializers]
};
^
10 warnings generated.
  CC(target) Release/obj.target/expat/deps/libexpat/lib/xmlrole.o
  LIBTOOL-STATIC Release/libexpat.a
  CXX(target) Release/obj.target/node_expat/node-expat.o
  SOLINK_MODULE(target) Release/node_expat.node
  SOLINK_MODULE(target) Release/node_expat.node: Finished
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/MagdaleneBenson/Sites/Cortana/npm-debug.log
npm ERR! not ok code 0

@rbergman
Copy link
Contributor

Despite the messy output, can you not run hubot when that completes? The warnings are normal, and stringprep is supposed to be an optional dependency anyway. It looks like your npm install is working at the end of the log, but to be sure you can make sure you delete npm-debug.log from your current directory (if it exists) and then run npm install again. If there's no npm-debug.log in the directory when it completes, then you should be good to go.

When I run it, I see all the same warnings, and stringprep fails, though the error details are suppressed. The npm install run still completes successfully and I can run hubot fine.

Also, while newer versions of hubot may work with hubot-hipchat, we generally recommend that you try to run the same version of hubot as the hubot-hipchat version, given hubot's historically poor concern for API backward compatibility.

@meetmagdalene
Copy link
Author

I'm able to get the hubot working locally, but when I deploy to say, Heroku, nothing works. I guess with all those crappy errors I thought it would have something to do with that.

@rbergman
Copy link
Contributor

What's the heroku log look like?

@meetmagdalene
Copy link
Author

Just checked that out. it doesn't like or can't find the hipchat adapter.

2014-09-18T16:28:40.713221+00:00 heroku[web.1]: Starting process with command `bin/hubot --adapter hipchat`
2014-09-18T16:28:43.397692+00:00 app[web.1]: [Thu Sep 18 2014 16:28:43 GMT+0000 (UTC)] ERROR Cannot load adapter hipchat - Error: Cannot find module 'hubot-hipchat'
2014-09-18T16:28:44.429586+00:00 heroku[web.1]: Process exited with status 1
2014-09-18T16:28:44.442491+00:00 heroku[web.1]: State changed from starting to crashed
2014-09-18T16:28:44.443244+00:00 heroku[web.1]: State changed from crashed to starting
2014-09-18T16:28:46.208620+00:00 heroku[web.1]: Starting process with command `bin/hubot --adapter hipchat`
2014-09-18T16:28:48.114864+00:00 app[web.1]: [Thu Sep 18 2014 16:28:48 GMT+0000 (UTC)] ERROR Cannot load adapter hipchat - Error: Cannot find module 'hubot-hipchat'
2014-09-18T16:28:48.822139+00:00 heroku[web.1]: State changed from starting to crashed
2014-09-18T16:28:48.810566+00:00 heroku[web.1]: Process exited with status 1
2014-09-18T16:28:49.769450+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=this-hubot.herokuapp.com request_id=89f2acb5-c8c1-4316-9c8d-f2cd05510b9b fwd="54.87.128.104" dyno= connect= service= status=503 bytes=

@meetmagdalene
Copy link
Author

My Procfile has one line web: bin/hubot --adapter hipchat

@rbergman
Copy link
Contributor

I'm guessing a bit since I don't know what your entire log looks like on heroku, but you might double check that hubot-hipchat is listed in your package.json, and then see if this helps:

heroku plugins:install https://github.com/heroku/heroku-repo.git
heroku repo:rebuild

@meetmagdalene
Copy link
Author

Would I put that under dependencies in my package.json?

@rbergman
Copy link
Contributor

Yeah, it should be in your dependencies section. Running npm install --save hubot-hipchat should have done that for you, though. If it's not there, then rerun that command to add it, then commit the new package.json and make sure it gets pushed to heroku with that entry.

@meetmagdalene
Copy link
Author

It wasn't in there so I put it in myself.
I tried running that sudo npm install --save hubot-hipchat again but with all those errors to decipher through it makes it difficult to tell why it didn't add it in there for me, but it did not.

@meetmagdalene
Copy link
Author

Adding that dependency in there manually worked!

@rbergman
Copy link
Contributor

(yey)

@meetmagdalene
Copy link
Author

Thanks for your input and help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants