apk-factory-service
apk-factory-service copied to clipboard
Project blows up when trying to run npm shrinkwrap
Steps to reproduce:
$ npm shrinkwrap --dev
npm ERR! Error: Problems were encountered
npm ERR! Please correct and try again.
npm ERR! extraneous: [email protected] /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/grunt-node-tap
npm ERR! extraneous: [email protected] /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/lodash
npm ERR! extraneous: [email protected] /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/node-statsd
npm ERR! extraneous: [email protected] /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/node-uuid
npm ERR! extraneous: [email protected] /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/nunjucks
npm ERR! extraneous: [email protected] /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/step
npm ERR! extraneous: [email protected] /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/ttl-lru-cache
npm ERR! extraneous: [email protected] /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/underscore
npm ERR! extraneous: [email protected] /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/gm
npm ERR! extraneous: [email protected] /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/hawk
npm ERR! extraneous: [email protected] /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/mysql
npm ERR! extraneous: [email protected] /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/optimist
npm ERR! extraneous: [email protected] /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/raven
npm ERR! extraneous: [email protected] /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/toobusy
npm ERR! extraneous: [email protected] /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/express
npm ERR! extraneous: [email protected] /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/fs.extra
npm ERR! extraneous: [email protected] /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/knox
npm ERR! extraneous: [email protected] /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/jshint
npm ERR! extraneous: [email protected] /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/request
npm ERR! extraneous: [email protected] /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/unzip
npm ERR! extraneous: [email protected] /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/grunt-contrib-jshint
npm ERR! extraneous: [email protected] /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/tap
npm ERR! extraneous: [email protected] /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/winston
npm ERR! at shrinkwrap_ (/usr/local/lib/node_modules/npm/lib/shrinkwrap.js:30:15)
npm ERR! at /usr/local/lib/node_modules/npm/lib/shrinkwrap.js:24:5
npm ERR! at /usr/local/lib/node_modules/npm/lib/ls.js:45:30
npm ERR! at /usr/local/lib/node_modules/npm/node_modules/read-installed/read-installed.js:130:5
npm ERR! at /usr/local/lib/node_modules/npm/node_modules/read-installed/read-installed.js:244:14
npm ERR! at cb (/usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)
npm ERR! at /usr/local/lib/node_modules/npm/node_modules/read-installed/read-installed.js:244:14
npm ERR! at cb (/usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)
npm ERR! at /usr/local/lib/node_modules/npm/node_modules/read-installed/read-installed.js:244:14
npm ERR! at cb (/usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)
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 12.5.0
npm ERR! command "node" "/usr/local/bin/npm" "shrinkwrap" "--dev"
npm ERR! cwd /Users/pdehaan/dev/tmp/apk-factory-service
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/pdehaan/dev/tmp/apk-factory-service/npm-debug.log
npm ERR! not ok code 0
Actual results:
A bunch of errors. It looks like something may be imploding since our package.json file doesn't list any dependencies or devDependencies.
Expected results:
We should probably add dependencies into the package.json and use npm install instead of checking the /node_modules/ directory directly into GitHub.