I'm on Ubuntu 13.10 (Saucy Salamander), and this is a fresh install.
This turned out to be an issue with npm unable to install the "fibers" package, and subsequent steps failed because of this. I'm not very familiar with node or npm, but I recall that this was due to an SSL certificate error. By turning off SSL vertification in npm (npm config ssl-strict false), I was able to re-run the provision step and it worked. This is most likely an issue with npm on the vagrant box, since this is what I get when I try to install a completely unrelated package called thinkpress using npm.
info it worked if it ends with ok
verbose cli [ 'node', '/usr/bin/npm', 'install', 'thinkpress' ]
info using [email protected]
info using [email protected]
verbose config file /home/vagrant/.npmrc
verbose config file /usr/etc/npmrc
verbose config file /usr/share/npm/npmrc
verbose cache add [ 'thinkpress', null ]
silly cache add: name, spec, args [ undefined, 'thinkpress', [ 'thinkpress', null ] ]
verbose parsed url { pathname: 'thinkpress',
verbose parsed url path: 'thinkpress',
verbose parsed url href: 'thinkpress' }
verbose addNamed [ 'thinkpress', '' ]
verbose addNamed [ null, '' ]
silly name, range, hasData [ 'thinkpress', '', false ]
verbose raw, before any munging thinkpress
verbose url resolving [ 'https://registry.npmjs.org/', './thinkpress' ]
verbose url resolved https://registry.npmjs.org/thinkpress
http GET https://registry.npmjs.org/thinkpress
ERR! Error: failed to fetch from registry: thinkpress
ERR! at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12
ERR! at cb (/usr/share/npm/lib/utils/npm-registry-client/request.js:31:9)
ERR! at Request._callback (/usr/share/npm/lib/utils/npm-registry-client/request.js:136:18)
ERR! at Request.callback (/usr/lib/nodejs/request/main.js:119:22)
ERR! at Request.<anonymous> (/usr/lib/nodejs/request/main.js:212:58)
ERR! at Request.emit (events.js:88:20)
ERR! at ClientRequest.<anonymous> (/usr/lib/nodejs/request/main.js:412:12)
ERR! at ClientRequest.emit (events.js:67:17)
ERR! at HTTPParser.onIncoming (http.js:1261:11)
ERR! at HTTPParser.onHeadersComplete (http.js:102:31)
ERR! You may report this log at:
ERR! <http://bugs.debian.org/npm>
ERR! or use
ERR! reportbug --attach /home/vagrant/src/puppet/manifests/npm-debug.log npm
ERR!
ERR! System Linux 3.2.0-23-generic
ERR! command "node" "/usr/bin/npm" "install" "thinkpress"
ERR! cwd /home/vagrant/src/puppet/manifests
ERR! node -v v0.6.12
ERR! npm -v 1.1.4
ERR! message failed to fetch from registry: thinkpress
I understand that this is bad practice, and I shouldn't have to disable SSL verification when installing packages from anywhere.
I'm wondering if any of you have run into a similar issue? If this is reproducible for other users, I'm happy to submit an update to the installation document.