Deploy Meteor app to Heroku Meteor v 1.0.2.1

I follow the directions here , but in step 6, instead of using:

--buildpack https://github.com/oortcloud/heroku-buildpack-meteorite

I use:

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

Everything works until I go to step 11:

git push heroku master

LOGS:

Counting objects: 13, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (9/9), done.
Writing objects: 100% (13/13), 1.97 KiB | 0 bytes/s, done.
Total 13 (delta 0), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote: 
remote: -----> Fetching custom git buildpack... done
remote: -----> Node.js app detected
remote: -----> Installing node
remote: -----> Installing meteor
remote: Downloading Meteor distribution
remote: 
remote: Meteor 1.0.2.1 has been installed in your home directory (~/.meteor).
remote: 
remote: Now you need to do one of the following:
remote: 
remote:   (1) Add "$HOME/.meteor" to your path, or
remote:   (2) Run this command as root:
remote:         cp "/tmp/buildpack_b8184dbff0f82703cfc7c7d1179c360e/meteor-    Kgek/.meteor/packages/meteor-tool/1.0.38/meteor-tool-os.linux.x86_64/scripts/admin/launch- meteor" /usr/bin/meteor
remote: 
remote: Then to get started, take a look at 'meteor --help' or see the docs at
remote: docs.meteor.com.
remote: -----> Bundling bundle
remote: ios: platform is not in this project
remote: android: platform is not in this project
remote: npm WARN package.json meteor-dev-bundle@0.0.0 No description
remote: npm WARN package.json meteor-dev-bundle@0.0.0 No repository field.
remote: npm WARN package.json meteor-dev-bundle@0.0.0 No README data
remote: 
remote: > fibers@1.0.1 install /tmp/build_b8184dbff0f82703cfc7c7d1179c360e/.meteor/heroku_build/app/programs/server/node_modules/fibers
remote: > node ./build.js
remote: 
remote: `linux-x64-v8-3.14` exists; testing
remote: Binary is fine; exiting
remote: underscore@1.5.2 node_modules/underscore
remote: 
remote: semver@4.1.0 node_modules/semver
remote: 
remote: eachline@2.3.3 node_modules/eachline
remote: └── type-of@2.0.1
remote: 
remote: fibers@1.0.1 node_modules/fibers
remote: 
remote: chalk@0.5.1 node_modules/chalk
remote: ├── escape-string-regexp@1.0.2
remote: ├── ansi-styles@1.1.0
remote: ├── supports-color@0.2.0
remote: ├── has-ansi@0.1.0 (ansi-regex@0.2.1)
remote: └── strip-ansi@0.3.0 (ansi-regex@0.2.1)
remote: 
remote: source-map-support@0.2.8 node_modules/source-map-support
remote: └── source-map@0.1.32 (amdefine@0.1.0)
remote: -----> Adding PATH environment
remote: -----> Running extras
remote: -----> Adding MONGOHQ_URL -> MONGO_URL env
remote: -----> Adding MONGOLAB_URI -> MONGO_URL env
remote: -----> Installing phantomjs.
remote: -----> Discovering process types
remote:        Procfile declares types   -> (none)
remote:        Default types for Node.js -> web
remote: 
remote: -----> Compressing... done, 22.1MB
remote: -----> Launching... 
remote:  !     Push rejected, failure creating release
remote: 
remote: Verifying deploy...
remote: 
remote: !   Push rejected to natetest19.
remote: 
To https://git.heroku.com/natetest19.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/natetest19.git'

      

+3


source to share


2 answers


I had the same problem for a while. I tried several different buildpacks but the problem persists.

I ended up solving the problem by doing the following:



My suspicion is that there was something understated in the heroku project that was screwed on from all buildpack switches.

Also, I should mention that it was only after re-creating my heroku project that I installed ROOT_URL

, so I suppose this could have been a problem too.

+1


source


You might want to try the following:



heroku addons:add mongohq:sandbox

      

0


source







All Articles