heroku

errors deploying to heroku

孤者浪人 提交于 2019-12-25 04:36:10
问题 I am getting a series of error when I try to push to heroku master. remote: npm ERR! Tell the author that this fails on your system: remote: npm ERR! bower install The docs https://devcenter.heroku.com/articles/nodejs-support showed me how to add bower Here is my package.json. I am not sure what I could be missing. I have my engine and npm identified. { "name": "caffeine", "version": "0.0.0", "private": true, "scripts": { "postinstall": "bower install", "start": "node app.js" }, "dependencies

Why does Travis fail to connect use Redis cache_store when deploying to Heroku?

我与影子孤独终老i 提交于 2019-12-25 04:28:10
问题 I use Redis caching in my Rails app: config.cache_store = :redis_store, redis_url When I push my Rails app straight to Heroku, it is deployed successfully. When using Travis, the Heroku deploy step fails because the asset precompilation attempts to connect to Redis. Running: rake assets:precompile rake aborted! ArgumentError: invalid uri scheme '' /tmp/build_7c5f167bf750cb2986dbb9c3510ea11e/vendor/bundle/ruby/2.1.0/gems/redis-3.2.0/lib/redis/client.rb:390:in `_parse_options' I have tried

How to access Heroku environment variables with Nuxt.JS app

Deadly 提交于 2019-12-25 04:19:53
问题 I have deployed my app on Heroku and on the start of my app I check a config file and in there I want to access a config var I have created on Heroku API_KEY to define my Firebase config: module.exports = { fireConfig: { apiKey: process.env.API_KEY, authDomain: "my-app.firebaseapp.com", databaseURL: "https://my-app.firebaseio.com", projectId: "my-project-id", storageBucket: "my-app.appspot.com", messagingSenderId: "my-messaging-sender-id" } }; this process.env.API_KEY is undefined . Should I

how to deploy java application on heroku?

a 夏天 提交于 2019-12-25 04:13:58
问题 I want to Deploy my server side java application on a server. I choose to use Heroku. Currently, I am able to create server and client side application on java and run them from my laptop on different terminals and communicate between them. Now I want to do same over the internet and choose Heroku server but I don't understand how to deploy my application on its server. I tried to read their tutorial but I am not able to understand from it. Tutorials on youtube and other are very old. Help me

Heroku run rake db.migrate / Error: A connection attempt failed

允我心安 提交于 2019-12-25 04:07:32
问题 I am experiencing problems with the "heroku run rake db:migrate" command. It complains about an " ! Heroku client internal error", see below for the entire thing. Git push and heroku create work (see below), but finally rake db:migrate crashes. What can I do? All the best Stefan Below is what I enter and get from Heroku. C:\Sites\demo_app_rt32>git push -u origin master Enter passphrase for key '/z/.ssh/id_rsa': Counting objects: 102, done. Delta compression using up to 4 threads. Compressing

Heroku Zbar Didn't find libzbar on your system (LoadError)

笑着哭i 提交于 2019-12-25 03:55:16
问题 I have a rails application which uses zbar for barcode recognition. It works fine on my developer machine, but when i tried to deploy it to Heroku my commit was rejected with the following message: app/web.1: /app/vendor/bundle/ruby/2.0.0/gems/zbar-0.2.2/lib/zbar/lib.rb:12:in `rescue in <module:ZBar>': Didn't find libzbar on your system (LoadError) app/web.1: Please install zbar (http://zbar.sourceforge.net/) or set ZBAR_LIB if it's in a weird place app/web.1: FFI::Library::ffi_lib() failed

Heroku Europe region: “Application error” when trying to fork

拟墨画扇 提交于 2019-12-25 03:53:28
问题 I'm trying out Heroku's new support for the Europe region. However, I always get a meaningless error trying to fork my app: $ heroku fork --region eu Creating fork testapp-989... done Copying slug... done Adding blitz:250... done Adding memcache:5mb... ! Application error There is nothing about this in the output of "heroku logs". I filed a ticket with Heroku support but they've been unresponsive for a week. (note this app is on the free plan, that's probably the reason...). I don't know

Passing compiler flags to a python package install

微笑、不失礼 提交于 2019-12-25 03:44:26
问题 I am trying to install this package on a system where I must install libsnappy-dev in a nonstandard location, and don't know how to include the right flags in the automatic installation to help gcc find the dev files. Predictably, when I attempt to install from github with pip git+git://github.com/andrix/python-snappy I get a compiling error because the .h files (in a nonstandard place) can't be found. Running setup.py install for python-snappy building '_snappy' extension gcc -pthread -fno

Router not working (Heroku + Nginx + PHP Phalcon)

旧时模样 提交于 2019-12-25 03:43:32
问题 I don't get it why the mvc routes are not working. When I access the home page, all the css and js are loaded. "GET /css/main.css HTTP/1.1" 304 But when I access any other controller, I got: method=GET path="/transaction/add" [error] open() "/app/public/transaction/add" failed (2: No such file or directory) "GET /transaction/add HTTP/1.1" 404 Here's my procfile --Procfile-- web: vendor/bin/heroku-php-nginx public/ location / { # try to serve file directly, fallback to rewrite try_files $uri

Internal server error 500 on heroku Django by sending an AJAX request

天涯浪子 提交于 2019-12-25 03:35:10
问题 This is a follow up question from: How do I make a loading page while I am processing something in the backend with Django? I am performing some calculations in the view method. Thus it takes 2~4 seconds to initiate a return statement from my view.py's function verify_api(). I get internal server error when the web application has been deployed to heroku. From heroku logs : 2015-05-15T21:35:47.907877+00:00 heroku[router]: at=info method=GET path="/verify_api" host=todjoke.herokuapp.com