oortcloud / heroku-buildpack-meteorite

MIT License
188 stars 97 forks source link

compability with meteor 0.9.0 #52

Open seliverstov opened 9 years ago

seliverstov commented 9 years ago

After migration to meteor/meteorite 0.9.0 my app was successfuly deployed to heroku, but after that it crashes during startup with error. On my local machine it works fine with new meteor release. Problem occurs only on Heroku.

2014-08-28T07:47:18.713911+00:00 app[web.1]: 2014-08-28T07:47:18.714803+00:00 app[web.1]: throw err; 2014-08-28T07:47:18.714972+00:00 app[web.1]: ^ 2014-08-28T07:47:18.721180+00:00 app[web.1]: Error: Cannot find module 'fibers' 2014-08-28T07:47:18.721184+00:00 app[web.1]: at Function.Module._resolveFilename (module.js:338:15) 2014-08-28T07:47:18.721186+00:00 app[web.1]: at Function.Module._load (module.js:280:25) 2014-08-28T07:47:18.721187+00:00 app[web.1]: at Module.require (module.js:364:17) 2014-08-28T07:47:18.721190+00:00 app[web.1]: at require (module.js:380:17) 2014-08-28T07:47:18.721191+00:00 app[web.1]: at Object. (/app/.meteor/heroku_build/app/programs/server/boot.js:1:75) 2014-08-28T07:47:18.721193+00:00 app[web.1]: at Module._compile (module.js:456:26) 2014-08-28T07:47:18.721194+00:00 app[web.1]: at Object.Module._extensions..js (module.js:474:10) 2014-08-28T07:47:18.721196+00:00 app[web.1]: at Module.load (module.js:356:32) 2014-08-28T07:47:18.721198+00:00 app[web.1]: at Function.Module._load (module.js:312:12) 2014-08-28T07:47:18.721199+00:00 app[web.1]: at Module.require (module.js:364:17) 2014-08-28T07:47:18.714488+00:00 app[web.1]: module.js:340 2014-08-28T07:47:19.702080+00:00 heroku[web.1]: Process exited with status 8 2014-08-28T07:47:17.535884+00:00 heroku[web.1]: Starting process with command .meteor/heroku_build/bin/node .meteor/heroku_build/app/main.js 2014-08-28T07:47:19.713767+00:00 heroku[web.1]: State changed from crashed to starting 2014-08-28T07:47:19.713185+00:00 heroku[web.1]: State changed from starting to crashed 2014-08-28T07:47:23.344818+00:00 app[web.1]: throw err; 2014-08-28T07:47:23.343796+00:00 app[web.1]: 2014-08-28T07:47:23.347405+00:00 app[web.1]: at Function.Module._resolveFilename (module.js:338:15) 2014-08-28T07:47:23.347408+00:00 app[web.1]: at Module.require (module.js:364:17) 2014-08-28T07:47:23.347414+00:00 app[web.1]: at Module._compile (module.js:456:26) 2014-08-28T07:47:23.347399+00:00 app[web.1]: Error: Cannot find module 'fibers' 2014-08-28T07:47:23.347407+00:00 app[web.1]: at Function.Module._load (module.js:280:25) 2014-08-28T07:47:23.347415+00:00 app[web.1]: at Object.Module._extensions..js (module.js:474:10) 2014-08-28T07:47:23.344824+00:00 app[web.1]: ^ 2014-08-28T07:47:23.347412+00:00 app[web.1]: at Object. (/app/.meteor/heroku_build/app/programs/server/boot.js:1:75) 2014-08-28T07:47:23.347410+00:00 app[web.1]: at require (module.js:380:17) 2014-08-28T07:47:23.347417+00:00 app[web.1]: at Module.load (module.js:356:32) 2014-08-28T07:47:23.347418+00:00 app[web.1]: at Function.Module._load (module.js:312:12) 2014-08-28T07:47:23.347420+00:00 app[web.1]: at Module.require (module.js:364:17) 2014-08-28T07:47:23.344388+00:00 app[web.1]: module.js:340 2014-08-28T07:47:24.152741+00:00 heroku[web.1]: State changed from starting to crashed

cbwheadon commented 9 years ago

I'm getting the same issue.

jononomo commented 9 years ago

Same issue here, also.

djhi commented 9 years ago

Same issue too

sdierauf commented 9 years ago

samsies.

djhi commented 9 years ago

It may not be a buildpack prb. I tried to bundle a very simple app through meteor standard bundle command. Can't run it too. I'll post a ticket on meteor repository

djhi commented 9 years ago

My bad, answer is in the meteor doc:

cd bundle
$ (cd programs/server && npm install)

I'll try to update the bundlepack to test that

alprestedge commented 9 years ago

I'm definitely getting this as well.

lirbank commented 9 years ago

There is supposably a working buildpack here https://github.com/haynzz/buildpack-meteor-0.9 (I haven't tried it yet).

djhi commented 9 years ago

I managed to make it work, you can use my fork in the meantime. I'll send a pull request

lirbank commented 9 years ago

@djhi Very cool, please do!

ghost commented 9 years ago

hi @djhi I am using you fork. But I am still seeing error about fibers thingy...any idea?

/tmp/node-meteor-f1Eo/.meteor/packages/meteor-tool/.1.0.26.1owm6lu++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/lib/node_modules/fibers/future.js:173 throw(ex); ^

djhi commented 9 years ago

No, I can't see why it wouldn't install with this code. I suppose you upgraded to 0.9.0 but if you are using meteorite too, did you run mrt migrate-app ?

ghost commented 9 years ago

I am kind of noob in deploying. On heroku, how could i run mrt? I am running my app fine on local. Only when deploy, I have the issue, which I solely depends on the buildpack to help out.

edited: I removed all mrt packages, i.e. collectionfs for example. now only have meteor packages.

djhi commented 9 years ago

did you migrated it on local ?

ghost commented 9 years ago

Yes I did. It run fine on local so far.

djhi commented 9 years ago

Can you make a small change in your code and commit it, then post the logs of the buildpack here ?

ghost commented 9 years ago

The logs are too long. I capture it here: http://i.imgur.com/x5qVwI4.png

djhi commented 9 years ago

mmm it looks like the installation of some meteorite packages requires fibers too (sass in your case). I tried to install it along with meteorite but if any packages requires other npms modules to install, that will be difficult to maintain.

Can you try again ?

ghost commented 9 years ago

I have just tried. Still having the exact same issue... emm wonder...

djhi commented 9 years ago

Can you post the logs again ?

ghost commented 9 years ago

I suppose the log is the same. Here: http://i.imgur.com/3AhGsX4.png

djhi commented 9 years ago

Ok that's what I thought. The prb isn't in the build pack. The sass package you seems to have a bug on install. Try removing it

ghost commented 9 years ago

I have the same feeling too. Let me try. Sorry to bother. I will let you know once I remove the package. Thank you so much.

ghost commented 9 years ago

Success! Thank you @djhi ! Now i have to manually watch the scss compilation... Appreciate your help. :+1:

djhi commented 9 years ago

Glad you got it working :)

amandasaffer commented 9 years ago

I'm having an issue with building my 9.0.1 app on Heroku as well. I set the BUILDPACK_URL to https://github.com/oortcloud/heroku-buildpack-meteorite.git and updated the ROOT_URL, MONGO_URL, MONGODB_URL, and MONGOHQ_URL as instructed. The build is successful, but then I get an Application Error when trying to view my site (http://puu.sh/blEL4/47c8f31b26.png).

The site works fine when I deploy to Meteor servers, so any thoughts?

Edit: After looking at logs, I see fibers is my issue, too. But not sure how to troubleshoot this well since the site deploys fine to meteor.com.

djhi commented 9 years ago

We need the build log from heroku when you push to their git repo in order to help you. Can you post it ? Can you try with my fork of the build pack ?

2014-09-04 22:29 GMT+02:00 Amanda Saffer notifications@github.com:

I'm having an issue with building my 9.0.1 app on Heroku as well. I set the BUILDPACK_URL to https://github.com/oortcloud/heroku-buildpack-meteorite.git and updated the ROOT_URL, MONGO_URL, MONGODB_URL, and MONGOHQ_URL as instructed. The build is successful, but then I get an Application Error when trying to view my site (http://puu.sh/blEL4/47c8f31b26.png).

The site works fine when I deploy to Meteor servers, so any thoughts?

— Reply to this email directly or view it on GitHub https://github.com/oortcloud/heroku-buildpack-meteorite/issues/52#issuecomment-54539742 .

amandasaffer commented 9 years ago

Yeah, sure thing. Sorry if I'm missing something obvious, I'm definitely a baby developer. Here's the build log:

-----> Fetching custom git buildpack... done
-----> Meteor app app detected
-----> Resolving engine versions

       No version of Node.js specified in nodeversion, using '0.10.29'

       Using Node.js version: 0.10.29
-----> Fetching Node.js binaries
        - downloading and extracting node from http://s3pository.heroku.com/node/v0.10.29/node-v0.10.29-linux-x64.tar.gz
-----> Installing meteorite with npm
       /tmp/node-modules-TQwx/bin/mrt -> /tmp/node-modules-TQwx/lib/node_modules/meteorite/bin/mrt.js

       > meteorite@0.9.2 postinstall /tmp/node-modules-TQwx/lib/node_modules/meteorite
       > sh ./completions/postinstall.sh

       meteorite@0.9.2 /tmp/node-modules-TQwx/lib/node_modules/meteorite
       ????????? rolling_timeout_exec@0.0.1
       ????????? colors@0.6.0-1
       ????????? wrench@1.3.9
       ????????? async@0.2.9
       ????????? underscore@1.3.3
       ????????? optimist@0.6.1 (wordwrap@0.0.2, minimist@0.0.10)
       ????????? fstream@1.0.2 (inherits@2.0.1, graceful-fs@3.0.2, rimraf@2.2.8, mkdirp@0.5.0)
       ????????? ddp@0.4.6 (meteor-ejson@0.6.3, faye-websocket@0.7.2, node-srp@0.0.1)
       ????????? prompt@0.2.11 (revalidator@0.1.8, pkginfo@0.3.0, read@1.0.5, utile@0.2.1, winston@0.6.2)
       Meteorite installed
       Installing meteor
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  4506    0  4506    0     0  23423      0 --:--:-- --:--:-- --:--:-- 31075
Downloading Meteor distribution

############################################################# 100.0%

Meteor 0.9.0.1 has been installed in your home directory (~/.meteor).

Now you need to do one of the following:

  (1) Add "$HOME/.meteor" to your path, or
  (2) Run this command as root:
        cp "/tmp/node-meteor-FcS3/.meteor/packages/meteor-tool/1.0.26/meteor-tool-os.linux.x86_64/scripts/admin/launch-meteor" /usr/bin/meteor

Then to get started, take a look at 'meteor --help' or see the docs at
docs.meteor.com.
       Meteor installed
       Installing packages
       ??? minimongoid
           tag: https://github.com/Exygy/minimongoid.git#v0.8.8
       ??? underscore-string-latest
           tag: https://github.com/TimHeckel/meteor-underscore-string.git#v2.3.3

       Done installing smart packages
       Building meteor bundle
       Figuring out the best package versions to use. This may take a moment.
       Refreshing package metadata. This may take a moment.
         downloading benjaminrh:respond at version 0.1.0 ...  done
         downloading mrt:accounts-admin-ui-bootstrap-3 at version 0.2.7 ...  done
         downloading mrt:modernizr-meteor at version 2.6.2 ...  done
         downloading mrt:accounts-ui-bootstrap-3 at version 0.3.0-1 ...  done
         downloading mizzao:build-fetcher at version 0.2.0 ...  done
         downloading mrt:jquery-ui-bootstrap at version 0.1.2 ...  done
         downloading iron:dynamic-template at version 0.3.0 ...  done
         downloading iron:router at version 0.9.1 ...  done
         downloading aslagle:reactive-table at version 0.4.0 ...  done
         downloading mrt:underscore-string-latest at version 2.3.3 ...  done
         downloading natestrauser:font-awesome at version 4.2.0 ...  done
         downloading iron:layout at version 0.3.0 ...  done
         downloading mrt:bootstrap-3 at version 3.1.1-1 ...  done
         downloading digilord:roles at version 1.2.12 ...  done
         downloading mrt:moment at version 2.8.1 ...  done
         downloading mrt:minimongoid at version 0.8.8 ...  done
         downloading sacha:spin at version 0.2.4 ...  done
         downloading alanning:roles at version 1.2.12 ...  done
         downloading iron:core at version 0.3.2 ...  done
         downloading mizzao:jquery-ui at version 1.11.0 ...  done
         downloading meteorhacks:fast-render at version 1.0.1 ...  done
         downloading mrt:just-i18n at version 0.3.0 ...  done
         downloading npm-bcrypt at version 0.7.7 ...  done
Setting up MONGO_URL in .profile.d
-----> Vendoring node into slug
-----> Discovering process types
       Procfile declares types      -> (none)
       Default types for Meteor app -> web

-----> Compressing... done, 31.1MB
-----> Launching... done, v135
       http://xxxxxxxx.herokuapp.com/ deployed to Heroku

And here's the error log:

Sep 04 13:28:54  heroku/web.1:  State changed from up to starting 
Sep 04 13:28:57  heroku/web.1:  Starting process with command `.meteor/heroku_build/bin/node .meteor/heroku_build/app/main.js` 
Sep 04 13:28:58  app/web.1:  module.js:340 
Sep 04 13:28:58  app/web.1:      throw err; 
Sep 04 13:28:58  app/web.1:            ^ 
Sep 04 13:28:58  app/web.1:  Error: Cannot find module 'fibers' 
Sep 04 13:28:58  app/web.1:      at Function.Module._resolveFilename (module.js:338:15) 
Sep 04 13:28:58  app/web.1:      at Function.Module._load (module.js:280:25) 
Sep 04 13:28:58  app/web.1:      at Module.require (module.js:364:17) 
Sep 04 13:28:58  app/web.1:      at require (module.js:380:17) 
Sep 04 13:28:58  app/web.1:      at Object.<anonymous> (/app/.meteor/heroku_build/app/programs/server/boot.js:1:75) 
Sep 04 13:28:58  app/web.1:      at Module._compile (module.js:456:26) 
Sep 04 13:28:58  app/web.1:      at Object.Module._extensions..js (module.js:474:10) 
Sep 04 13:28:58  app/web.1:      at Module.load (module.js:356:32) 
Sep 04 13:28:58  app/web.1:      at Function.Module._load (module.js:312:12) 
Sep 04 13:28:58  app/web.1:      at Module.require (module.js:364:17) 
Sep 04 13:28:58  heroku/web.1:  Process exited with status 8 
Sep 04 13:28:59  heroku/web.1:  State changed from starting to crashed 
Sep 04 13:28:59  heroku/web.1:  State changed from crashed to starting 
Sep 04 13:29:03  heroku/web.1:  Starting process with command `.meteor/heroku_build/bin/node .meteor/heroku_build/app/main.js` 
Sep 04 13:29:04  app/web.1:      throw err; 
Sep 04 13:29:04  app/web.1:            ^ 
Sep 04 13:29:04  app/web.1:  Error: Cannot find module 'fibers' 
Sep 04 13:29:04  app/web.1:      at Function.Module._resolveFilename (module.js:338:15) 
Sep 04 13:29:04  app/web.1:      at Function.Module._load (module.js:280:25) 
Sep 04 13:29:04  app/web.1:      at Module.require (module.js:364:17) 
Sep 04 13:29:04  app/web.1:      at require (module.js:380:17) 
Sep 04 13:29:04  app/web.1:      at Object.<anonymous> (/app/.meteor/heroku_build/app/programs/server/boot.js:1:75) 
Sep 04 13:29:04  app/web.1:      at Module._compile (module.js:456:26) 
Sep 04 13:29:04  app/web.1:      at Object.Module._extensions..js (module.js:474:10) 
Sep 04 13:29:04  app/web.1:      at Module.load (module.js:356:32) 
Sep 04 13:29:04  app/web.1:      at Function.Module._load (module.js:312:12) 
Sep 04 13:29:04  app/web.1:      at Module.require (module.js:364:17) 
Sep 04 13:29:04  app/web.1:  module.js:340 
Sep 04 13:29:05  heroku/web.1:  Process exited with status 8 
Sep 04 13:29:05  heroku/web.1:  State changed from starting to crashed 
jononomo commented 9 years ago

@amandasaffer for me it began working when I set the BUILDPACK_URL to https://github.com/djhi/heroku-buildpack-meteorite

amandasaffer commented 9 years ago

@jononomo @djhi Alright, thanks. I'll try @djhi's buildpack URL. Has to be tomorrow, though, since I have to catch a train. I'll keep you updated!

amandasaffer commented 9 years ago

@djhi Awesome, your buildpack worked for me. Thanks a lot. I'll be coming back if Meteor breaks again with a new release. :)

Also, I did get some npm warnings. Is this a concern?

-----> Run npm install
npm WARN package.json meteor-dev-bundle@0.0.0 No description
npm WARN package.json meteor-dev-bundle@0.0.0 No repository field.
npm WARN package.json meteor-dev-bundle@0.0.0 No README data

> fibers@1.0.1 install /tmp/build_2bd14745-5680-4ab0-ac1f-92071f18bcb5/.meteor/heroku_build/app/programs/server/node_modules/fibers
> node ./build.js

`linux-x64-v8-3.14` exists; testing
Binary is fine; exiting
underscore@1.5.2 node_modules/underscore

semver@2.2.1 node_modules/semver

source-map-support@0.2.5 node_modules/source-map-support
????????? source-map@0.1.29 (amdefine@0.1.0)

fibers@1.0.1 node_modules/fibers
-----> Discovering process types
       Procfile declares types      -> (none)
       Default types for Meteor app -> web

-----> Compressing... done, 32.5MB
-----> Launching... done, v138
lirbank commented 9 years ago

Yeah, interestingly they released a new version less than two hours ago. :)

mattcam commented 9 years ago

@djhi's buildpack URL worked for me also

TGrannen commented 9 years ago

I was experiencing the same issues, and @djhi's buildpack work perfectly! Thanks @djhi!

vunguyentuan commented 9 years ago

anyone success deploy meteor 0.9.0.1 and above? I has try but still not work.

UPDATED: I use this command and it work well heroku stack:set cedar-14 https://github.com/fourseven/meteor-scss/issues/41

lirbank commented 9 years ago

@vunguyentuan - you have to run heroku config:set BUILDPACK_URL=https://github.com/djhi/heroku-buildpack-meteorite as well.

lirbank commented 9 years ago

I.e. you can't use the buildpack from oortcloud, instead use the fork by @djhi (as I showed in the previous comment).

karldanninger commented 9 years ago

@lirbank I don't think your URL is correct, you have to use the .git reference heroku config:set BUILDPACK_URL=https://github.com/djhi/heroku-buildpack-meteorite.git

lirbank commented 9 years ago

Actually, I'm using it without .git' and it works... Just checked my heroku config. Anyway, even if it works, it's probably better to include .git.

Everybody, as @kdanninger said, please use:

heroku config:set BUILDPACK_URL=https://github.com/djhi/heroku-buildpack-meteorite.git
kaushik1979 commented 9 years ago

This should all be documented. Otherwise, it is so much waste of man-hours trying to find what worked on web.

cozenlabs commented 9 years ago

I am trying to push my app to heroku after updating it to Meteor 0.9.3.1. I get an error using djhi buildpack as recommended above.

Please help. I have been trying to get my app to heroku for a few days now. Here is output on my screen.

$git push heroku master -f
Enter passphrase for key '/home/ubuntu/.ssh/id_rsa': 
Fetching repository, done.
Counting objects: 2009, done.
Compressing objects: 100% (757/757), done.
Writing objects: 100% (2009/2009), 10.42 MiB | 5.43 MiB/s, done.
Total 2009 (delta 1173), reused 1953 (delta 1166)

-----> Fetching custom git buildpack... done
-----> Meteor app app detected
-----> Resolving engine versions

       No version of Node.js specified in nodeversion, using '0.10.29'

       Using Node.js version: 0.10.29
-----> Fetching Node.js binaries
        - downloading and extracting node from http://s3pository.heroku.com/node/v0.10.29/node-v0.10.29-linux-x64.tar.gz
-----> Installing meteorite with npm

       > fibers@1.0.2 install /tmp/node-modules-8y8j/lib/node_modules/fibers
       > node ./build.js

       `linux-x64-v8-3.14` exists; testing
       Binary is fine; exiting
       /tmp/node-modules-8y8j/bin/mrt -> /tmp/node-modules-8y8j/lib/node_modules/meteorite/bin/mrt.js

       > meteorite@0.9.2 postinstall /tmp/node-modules-8y8j/lib/node_modules/meteorite
       > sh ./completions/postinstall.sh

       fibers@1.0.2 /tmp/node-modules-8y8j/lib/node_modules/fibers

       meteorite@0.9.2 /tmp/node-modules-8y8j/lib/node_modules/meteorite
       ├── rolling_timeout_exec@0.0.1
       ├── colors@0.6.0-1
       ├── wrench@1.3.9
       ├── async@0.2.9
       ├── optimist@0.6.1 (wordwrap@0.0.2, minimist@0.0.10)
       ├── underscore@1.3.3
       ├── fstream@1.0.2 (inherits@2.0.1, rimraf@2.2.8, graceful-fs@3.0.3, mkdirp@0.5.0)
       ├── ddp@0.4.6 (meteor-ejson@0.6.3, faye-websocket@0.7.3, node-srp@0.0.1)
       └── prompt@0.2.11 (revalidator@0.1.8, pkginfo@0.3.0, read@1.0.5, utile@0.2.1, winston@0.6.2)
       Meteorite installed
      Installing meteor
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  4506    0  4506    0     0  57536      0 --:--:-- --:--:-- --:--:--  100k
Downloading Meteor distribution
######################################################################## 100.0%

Meteor 0.9.3.1 has been installed in your home directory (~/.meteor).

Now you need to do one of the following:

  (1) Add "$HOME/.meteor" to your path, or
  (2) Run this command as root:
        cp "/tmp/node-meteor-WyBr/.meteor/packages/meteor-tool/1.0.33/meteor-tool-os.linux.x86_64/scripts/admin/launch-meteor" /usr/bin/meteor

Then to get started, take a look at 'meteor --help' or see the docs at
docs.meteor.com.
       Meteor installed
       Installing packages
       ✓ observatory
           tag: https://github.com/jhoxray/observatory.git#v0.3.21
       ✓ font-awesome
           tag: https://github.com/nate-strauser/meteor-font-awesome.git#v4.0.3
       ✓ inspector
           tag: https://github.com/broth-eu/meteor-inspector.git#v0.2.2
       ✓ chartjs
           tag: https://github.com/donskifarrell/meteor-chartjs.git#v0.0.4
       ✓ HTML5-History-API
           tag: https://github.com/tmeasday/meteor-HTML5-History-API.git#v4.0.0
       ✓ page-js-ie-support
           tag: https://github.com/tmeasday/meteor-page-js-ie-support.git#v1.3.5
       ✓ jquery-ui
           tag: https://github.com/TimHeckel/meteor-jquery-ui.git#v1.9.2
       ✓ ace-embed
           tag: https://github.com/stuartfenton/meteor-ace-embed.git#v0.0.4
       ✓ mathjax
           tag: https://github.com/apendua/meteor-mathjax.git#v0.5.0.1
       ✓ autocompletion
           tag: https://github.com/sebdah/meteor-autocompletion.git#v0.1.4
       ✓ wow
           tag: https://github.com/noorderstorm/meteor-wow.git#v0.1.3
       ✓ animate-css
           tag: https://github.com/nate-strauser/meteor-animate-css.git#v2.1.0
       ✓ googleAnalytics
           tag: https://github.com/yasaricli/googleAnalytics.git#v0.0.8
       ✓ iron-router
           tag: https://github.com/EventedMind/iron-router.git#v0.6.4
       ✓ bootstrap-3
           tag: https://github.com/mangasocial/meteor-bootstrap-3.git#v0.3.7
       ✓ accounts-ui-bootstrap-3
           tag: https://github.com/mangasocial/meteor-accounts-ui-bootstrap-3.git#v0.2.4
       ✓ observatory-apollo
           tag: https://github.com/superstringsoftware/observatory-apollo.git#v0.3.2
       ✓ module-loader
           tag: https://github.com/apendua/module-loader.git#v0.5.1
       ✓ observatory-galileo
           branch: https://github.com/superstringsoftware/observatory-galileo.git#master

       Done installing smart packages
       Building meteor bundle
       Installing Meteor 0.7.0.1:
        * 'meteor' build tool (version 09b63f1ed5)
        * Package updates: accounts-base accounts-facebook accounts-github
          accounts-google accounts-meetup accounts-oauth accounts-password
          accounts-twitter accounts-ui accounts-ui-unstyled accounts-weibo amplify
          appcache application-configuration audit-argument-checks autopublish
          autoupdate backbone bootstrap browser-policy browser-policy-common
          browser-policy-content browser-policy-framing check code-prettify
          coffeescript coffeescript-test-helper ctl ctl-helper d3 deps
          dev-bundle-fetcher disable-oplog domutils ejson email facebook facts
          follower-livedata force-ssl geojson-utils github google handlebars htmljs
          http insecure jquery jquery-history jquery-layout jquery-waypoints js-analyze
          js-analyze-tests json jsparse less livedata liverange localstorage logging
          madewith meetup meteor meyerweb-reset minifiers minimongo mongo-livedata
          oauth oauth1 oauth2 ordered-dict preserve-inputs random reactive-dict reload
          routepolicy service-configuration session showdown spark spiderable srp
          standard-app-packages star-translate startup stylus templating test-helpers
          test-in-browser test-in-console tinytest twitter underscore universal-events
          webapp weibo

       Loading Observatory:
       This is version 0.3.2 with completely redesigned architecture and a host of new features available - 
       please check out http://observatoryjs.com for details. There's automagical logging, profiling, application monitoring and more.
       loading observatory: galileo
       loading observatory: apollo
       npm: updating npm dependencies -- marked, nodemailer...
       iron-router: updating npm dependencies -- connect...
-----> Vendoring node into slug
-----> Move to app directory: /programs/server
-----> Run npm install
npm ERR! install Couldn't read dependencies
npm ERR! package.json ENOENT, open '/tmp/build_8cdbc2dc-d6b9-49dd-b81a-e566bf7180ee/.meteor/heroku_build/app/programs/server/package.json'
npm ERR! package.json This is most likely not a problem with npm itself.
npm ERR! package.json npm can't find a package.json file in your current directory.

npm ERR! System Linux 3.8.11-ec2
npm ERR! command "/tmp/node-node-Ih0A/bin/node" "/tmp/node-node-Ih0A/bin/npm" "install"
npm ERR! cwd /tmp/build_8cdbc2dc-d6b9-49dd-b81a-e566bf7180ee/.meteor/heroku_build/app/programs/server
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! path /tmp/build_8cdbc2dc-d6b9-49dd-b81a-e566bf7180ee/.meteor/heroku_build/app/programs/server/package.json
npm ERR! code ENOPACKAGEJSON
npm ERR! errno 34
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /tmp/build_8cdbc2dc-d6b9-49dd-b81a-e566bf7180ee/.meteor/heroku_build/app/programs/server/npm-debug.log
npm ERR! not ok code 0

 !     Push rejected, failed to compile Meteor app app

To git@heroku.com:qoll.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:qoll.git'
AndrewMagliozzi commented 9 years ago

hey all, you may want to try our buildpack too:

https://github.com/AdmitHub/meteor-buildpack-horse

mrmowgli commented 9 years ago

Why on earth is it installing an old version?

Installing Meteor 0.7.0.1:
occasl commented 9 years ago

Thanks @AndrewMagliozzi! I switched over to this buildpback for Meteor 1.0.0 and added ROOT_URL: [http://myapp.com] to my config and that worked. Good to be off meteorite completely.

lirbank commented 8 years ago

@jononomo I guess there is no activity in this repo anymore as Meteorite is deprecated as of Meteor 1.0, see the README

Meteorite is no longer used as of Meteor > 1.0. There are other buildpacks that support Meteor 1.0.

A good alternative is https://github.com/AdmitHub/meteor-buildpack-horse