Skip to content

Instantly share code, notes, and snippets.

@blakmatrix
Created July 2, 2012 19:10
Show Gist options
  • Save blakmatrix/3035033 to your computer and use it in GitHub Desktop.
Save blakmatrix/3035033 to your computer and use it in GitHub Desktop.
{
version: '0.0.1-216',
subdomain: 'knack',
private: true,
engines: { node: '0.6.x' },
domains: [ 'knackhq.com' ],
name: 'Knack',
dependencies: {
clone: '0.0.6',
express: '2.5.5',
underscore: '1.3.1',
knox: '0.0.9',
jade: '>= 0.26.0',
postageapp: '0.1.0',
geo: '0.0.3',
csv: '0.0.13',
solr: '0.2.1',
validator: '0.4.5',
mongoose: '2.5.1',
mime: '1.0.0',
async: '0.1.18',
imagemagick: '0.1.2',
inflection: '1.1.1',
moment: '1.4.0',
connect-mongodb: '1.1.3'
},
bundleDependencies: [ 'connect-mongo-db', 'mongoose' ],
scripts: { start: 'app.js' }
}
@blakmatrix
Copy link
Author

adding the bundleDependencies setting is a fix on jitsu
after removing the OS line in the dependency then changing package.json, then redeploying

error:  npm ERR! notsup Not compatible with your operating system or architecture: mongodb@0.9.9-4
error:  npm ERR! error rolling back Error: EEXIST, rmdir '/opt/haibu/apps/knack/
Knack/package/node_modules/connect-mongodb'
error:  npm ERR! error rolling back  connect-mongodb@1.1.3 { [Error: EEXIST, rmd
ir '/opt/haibu/apps/knack/Knack/package/node_modules/connect-mongodb']
error:  npm ERR! error rolling back   errno: 47,
error:  npm ERR! error rolling back   code: 'EEXIST',
error:  npm ERR! error rolling back   path: '/opt/haibu/apps/knack/Knack/package
/node_modules/connect-mongodb' }
error:  npm ERR! notsup Unsupported
error:  npm ERR! notsup Not compatible with your operating system or architectur
e: mongodb@0.9.7
error:  npm ERR! notsup Valid OS:    linux,darwin,freebsd
error:  npm ERR! notsup Valid Arch:  any
error:  npm ERR! notsup Actual OS:   sunos
error:  npm ERR! notsup Actual Arch: ia32
error:
error:  npm ERR! System SunOS 5.11
error:  npm ERR! command "node" "/opt/haibu/node-versions/0.6.19/bin/npm" "--cac
he" "/opt/haibu/apps/knack/Knack/.npm" "--userconfig" "/opt/haibu/apps/knack/Kna
ck/.userconfig" "--globalconfig" "/opt/haibu/apps/knack/Knack/.globalconfig" "in
stall"
error:  npm ERR! cwd /opt/haibu/apps/knack/Knack/package
error:  npm ERR! node -v v0.6.19
error:  npm ERR! npm -v 1.1.32
error:  npm ERR! code EBADPLATFORM
error:  npm ERR! message Unsupported
error:  npm http GET https://registry.npmjs.org/qs
error:  npm http GET https://registry.npmjs.org/formidable
error:  npm http 304 https://registry.npmjs.org/qs
error:  npm http 304 https://registry.npmjs.org/formidable
error:  npm ERR! error rolling back Error: EEXIST, rmdir '/opt/haibu/apps/knack/
Knack/package/node_modules/mongoose'
error:  npm ERR! error rolling back  mongoose@2.5.1 { [Error: EEXIST, rmdir '/op
t/haibu/apps/knack/Knack/package/node_modules/mongoose']
error:  npm ERR! error rolling back   errno: 47,
error:  npm ERR! error rolling back   code: 'EEXIST',
error:  npm ERR! error rolling back   path: '/opt/haibu/apps/knack/Knack/package
/node_modules/mongoose' }
error:  npm ERR!
error:  npm ERR! Additional logging details can be found in:
error:  npm ERR!     /opt/haibu/apps/knack/Knack/package/npm-debug.log
error:  npm ERR! not ok code undefined
error:  npm ERR! not ok code 1
error:
info:   Nodejitsu not ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment