mozilla / apk-factory-service

Web service which converts Open Web Apps into native Android apps
42 stars 18 forks source link

Project blows up when trying to run npm shrinkwrap #78

Open pdehaan opened 10 years ago

pdehaan commented 10 years ago

Steps to reproduce:

$ npm shrinkwrap --dev
npm ERR! Error: Problems were encountered
npm ERR! Please correct and try again.
npm ERR! extraneous: grunt-node-tap@0.1.44 /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/grunt-node-tap
npm ERR! extraneous: lodash@1.3.1 /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/lodash
npm ERR! extraneous: node-statsd@0.0.7 /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/node-statsd
npm ERR! extraneous: node-uuid@1.4.1 /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/node-uuid
npm ERR! extraneous: nunjucks@0.1.9 /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/nunjucks
npm ERR! extraneous: step@0.0.5 /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/step
npm ERR! extraneous: ttl-lru-cache@0.0.2 /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/ttl-lru-cache
npm ERR! extraneous: underscore@1.5.1 /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/underscore
npm ERR! extraneous: gm@1.13.3 /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/gm
npm ERR! extraneous: hawk@2.1.0 /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/hawk
npm ERR! extraneous: mysql@2.0.0-rc2 /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/mysql
npm ERR! extraneous: optimist@0.6.0 /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/optimist
npm ERR! extraneous: raven@0.6.2 /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/raven
npm ERR! extraneous: toobusy@0.2.4 /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/toobusy
npm ERR! extraneous: express@3.3.8 /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/express
npm ERR! extraneous: fs.extra@1.2.1 /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/fs.extra
npm ERR! extraneous: knox@0.8.9 /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/knox
npm ERR! extraneous: jshint@2.1.11 /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/jshint
npm ERR! extraneous: request@2.25.0 /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/request
npm ERR! extraneous: unzip@0.1.9 /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/unzip
npm ERR! extraneous: grunt-contrib-jshint@0.6.0 /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/grunt-contrib-jshint
npm ERR! extraneous: tap@0.4.3 /Users/pdehaan/dev/tmp/apk-factory-service/node_modules/tap
npm ERR! extraneous: winston@0.7.2 /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.