heroku-cli

How to clean cache in heroku after installing dependencies?

前提是你 提交于 2019-12-18 03:46:30
问题 Topic : Heroku Problem : After installing my node js application in heroku, I made some changes in package.json. Now, when I am trying to push changes again, new dependencies are not getting installed. Heroku is picking the dependencies from cache. How to disable cache in heroku ? 回答1: Thanks all for responding. After much googling and spending time on my issue, I was able to solve my problem. I thought it would be better to post an answer if anyone faces the similar dilemma. Below is the

Parse-Server, email-verification bug?

二次信任 提交于 2019-12-13 03:47:44
问题 I have been stuck longer than I would like, with a problem related to email verification when creating an account on Parse-Server (/Heroku). Though I made a few post on the issue, I was not lucky enough (or maybe did not formulate things clearly enough) to get significant help. So I decided to do it all over again, this time giving a precise step by step way to reproduce the bug, for anyone interested in taking a close look. If what I do is right from start to end, then there must be a bug.

Deploy PHP project with Yarn to Heroku

我只是一个虾纸丫 提交于 2019-12-12 21:54:20
问题 Locally I simply run composer install and yarn install , but when pushing to Heroku only composer dependencies get installed, but not Yarn components. I can't seem to find a way for Heroku to trigger Yarn components installation. 回答1: I just needed to add the heroku/nodejs buildpack inside Heroku application's settings page, alongside the already present heroku/php . The next deploy then also installed the yarn components. 来源: https://stackoverflow.com/questions/48086897/deploy-php-project

Heroku Stuck at Building Source for NodeJs App

∥☆過路亽.° 提交于 2019-12-12 15:57:50
问题 When I tried to deploy my app on heroku, it gets stuck at remote: Building source I initially thought it was network and changed network, but the issue persists then, I also tried force push, that didn't work either Counting objects: 100% (19/19), done. Delta compression using up to 4 threads Compressing objects: 100% (10/10), done. Writing objects: 100% (10/10), 1.36 KiB | 39.00 KiB/s, done. Total 10 (delta 8), reused 0 (delta 0) remote: Compressing source files... done. remote: Building

Heroku local doesn't read my .env file

℡╲_俬逩灬. 提交于 2019-12-12 15:26:49
问题 I tried the heroku node sample at: https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction And used Postgres as the db. All worked. Now I wanted to run it local, so I used the sample from: https://devcenter.heroku.com/articles/heroku-local To get the DATABASE_URL to my .env file - but I couldn't get it to work even though when I ran Heroku local it displayed: [OKAY] Loaded ENV .env File as KEY=VALUE Format The database still did not connect and when I added: console.log

Heroku local [WARN] No ENV file found when using Config library to manage environments

青春壹個敷衍的年華 提交于 2019-12-11 18:29:08
问题 I'm using Config library to mange my environments, so i do not have .env file, how to make heroku ignore this fact ?. It work fine when i deploy to Heroku, but fails locally. I tried: heroku local web which fires npm run build && node dist/Server // [WARN] No ENV file found 回答1: The only way to make Heroku remove this warning is to create a .env file. This warning shouldn't be problematic in itself though, as it shouldn't prevent your app from running. 来源: https://stackoverflow.com/questions

Heroku stuck at Building Source for Django app

南笙酒味 提交于 2019-12-11 07:48:01
问题 I have successfully pushed the previous versions of my Django app to Heroku. It usually shows some errors if it is not able to deploy, but this time it is stuck at this for about an hour: Counting objects: 10977, done. Delta compression using up to 8 threads. Compressing objects: 100% (7719/7719), done. Writing objects: 100% (10977/10977), 17.29 MiB | 3.00 MiB/s, done. Total 10977 (delta 3954), reused 6832 (delta 2062) remote: Compressing source files... done. remote: Building source: Here's

Error when updating Heroku CLI: write lock exists: update

让人想犯罪 __ 提交于 2019-12-11 01:46:42
问题 I am trying to update the Heroku CLI, however, without success. Current version of Heroku CLI is heroku-cli/6.15.5-1f03166 (win32-x64) node-v9.3.0 When running heroku update I get the following error C:\>heroku update CLI is updating... ! ! 'ELOCK': write lock exists: update I didnt' find any solution to this problem so far as I am hesitating to just uninstall and re-install the Heroku CLI (all my configs are lost then). 回答1: I solved this problem by uninstalling heroku and installing via

Can't install Heroku CLI on Raspbian

泄露秘密 提交于 2019-12-11 00:47:36
问题 I've just started using my RP3 as my development box, and got everything working fine: Python 3.6, created venv's, installed posgresql, working with Django. All is fine. Except that, if I want to work with Heroku, their CLI (former Toolbelt) won't install, stating the package doesn't exist. What I did: Their official site states that we should run a script: wget -qO- https://cli-assets.heroku.com/install-ubuntu.sh | sh Which basically seems to include heroku on the sources for apt-get ,

Deploy ng-2 admin Angular 2 to heroku

家住魔仙堡 提交于 2019-12-08 06:01:49
问题 I'm trying to deploy my project based on ng2-admin .the Build succeeded but whe i launch heroku open to run the project i got : Application error An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. Here is the logs: remote: Compressing source files... done. remote: Building source: remote: remote: -----> Node.js app detected remote: remote: -----> Creating runtime environment remote: remote: NPM_CONFIG_LOGLEVEL