oortcloud / heroku-buildpack-meteorite

MIT License
189 stars 97 forks source link

Fails to bundle dependencies after meteorite 6.0 update #13

Closed nate-strauser closed 11 years ago

nate-strauser commented 11 years ago

@5.1

Done installing smart packages

       Ok, everything's ready. Here comes Meteor!

       => Running Meteor from a checkout -- overrides project version (0.6.3.1)

       livedata: updating npm dependencies -- sockjs, websocket...
       mongo-livedata: updating npm dependencies -- mongodb...
       email: updating npm dependencies -- mailcomposer, simplesmtp, stream-buffers...
       less: updating npm dependencies -- less...
       coffeescript: updating npm dependencies -- coffee-script...
... continues to completion ...

@6.0

Done installing smart packages

       Ok, everything's ready. Here comes Meteor!

       execvp(): No such file or directory
       Bundled
tar: /app/tmp/repo.git/.cache/bundle.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors

 !     Push rejected, failed to compile Meteor app app

bundling appears to work fine locally

Xyand commented 11 years ago

Same here.

nate-strauser commented 11 years ago

sure seems related to 6.0 upgrade - forked the buildpack and forced to 5.1 version - works fine again

https://github.com/nate-strauser/heroku-buildpack-meteorite

tmeasday commented 11 years ago

Can you try again?

kevinharvey commented 11 years ago

I'm also getting this error, coupled with an old error from jade-handlebars. I got the jade-handlebars error in my local environment before I specified a commit to install from in smart.json (related error at jade-handlebars repo{https://github.com/SimonDegraeve/meteor-jade-handlebars/pull/22})

       Done installing smart packages
       Building meteor bundle
       Errors prevented bundling:
       Exception while bundling application:
       Error: Can't find npm module 'jade-handlebars/jade'. Did you forget to call 'Npm.depends'?
           at Object.self.npmFacade.require (/tmp/node-meteor-l4TX/.meteor/tools/cc18dfef9e/tools/packages.js:136:17)
           at /tmp/build_2bjgw1c2mm3wf/packages/jade-handlebars/package.js:7:25
           at _.extend.initFromPackageDir (/tmp/node-meteor-l4TX/.meteor/tools/cc18dfef9e/tools/packages.js:175:5)
           at _.extend.initFromLocalPackages (/tmp/node-meteor-l4TX/.meteor/tools/cc18dfef9e/tools/packages.js:188:12)
           at Object._.extend.get (/tmp/node-meteor-l4TX/.meteor/tools/cc18dfef9e/tools/packages.js:350:17)
           at self.api.use (/tmp/node-meteor-l4TX/.meteor/tools/cc18dfef9e/tools/bundler.js:111:28)
           at Array.forEach (native)
           at Function._.each._.forEach (/tmp/node-meteor-l4TX/.meteor/tools/cc18dfef9e/lib/node_modules/underscore/underscore.js:78:11)
           at Object.self.api.use (/tmp/node-meteor-l4TX/.meteor/tools/cc18dfef9e/tools/bundler.js:110:9)
           at _.extend.init_from_app_dir [as on_use_handler] (/tmp/node-meteor-l4TX/.meteor/tools/cc18dfef9e/tools/packages.js:238:11)
           at _.extend.use (/tmp/node-meteor-l4TX/.meteor/tools/cc18dfef9e/tools/bundler.js:464:11)
           at Object.exports.bundle (/tmp/node-meteor-l4TX/.meteor/tools/cc18dfef9e/tools/bundler.js:873:12)
           at Object.Commands.push.func (/tmp/node-meteor-l4TX/.meteor/tools/cc18dfef9e/tools/meteor.js:609:28)
           at main (/tmp/node-meteor-l4TX/.meteor/tools/cc18dfef9e/tools/meteor.js:1037:22)
           at /tmp/node-meteor-l4TX/.meteor/tools/cc18dfef9e/tools/meteor.js:1040:3
tar: /app/tmp/repo.git/.cache/bundle.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors

 !     Push rejected, failed to compile Meteor app app

To git@heroku.com:xxxxxxxxxx.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:xxxxxxxxxxxxxxxx.git'
nate-strauser commented 11 years ago

works for me now - thanks!