heroku-cli

How to use Prisma 2 CLI on Heroku

佐手、 提交于 2021-02-10 14:44:55
问题 I have deployed NestJs application on Heroku which uses Prisma 2, but when I run the command npx prisma --version on heroku bash I get Prisma CLI version: prisma/1.34.10 (linux-x64) node-v14.15.0 but I have installed prisma 2.11.0, I want to use Prisma 2 cli to introspect my existing database, and run prisma generate. 回答1: I managed to introspect my existing database and run prisma generate by adding heroku-postbuild command on my package.json in scripts section as show below: { "scripts": {

How to use Prisma 2 CLI on Heroku

风格不统一 提交于 2021-02-10 14:42:57
问题 I have deployed NestJs application on Heroku which uses Prisma 2, but when I run the command npx prisma --version on heroku bash I get Prisma CLI version: prisma/1.34.10 (linux-x64) node-v14.15.0 but I have installed prisma 2.11.0, I want to use Prisma 2 cli to introspect my existing database, and run prisma generate. 回答1: I managed to introspect my existing database and run prisma generate by adding heroku-postbuild command on my package.json in scripts section as show below: { "scripts": {

Heroku can't find package.json during build although I have it

99封情书 提交于 2021-02-07 05:49:06
问题 When I push my node app to heroku master I get this log remote: Building source: remote: remote: -----> App not compatible with buildpack: https://codon- buildpacks.s3.amazonaws.com/buildpacks/heroku/nodejs.tgz remote: Node.js: package.json not found in application root I can't find the reason why this would happen as I clearly have in my root directory. I checked using git ls-files and it appears. Is it possible that my application root is not the same as my repository root? How would one

how to fix the application response error in heroku?

佐手、 提交于 2021-01-29 06:25:09
问题 now I'm trying to upload my project on Heroku cloud and the website has uploaded successfully but I get the application error page from heroku when I try to enter the page the files I have created are: Pipfile Pipfile.lock Procfile pyvenv.cfg requirements.txt and I did everything the heroku needs it so, what's going on here? procfile web: gunicorn website.wsgi please tell me How can I fix that error and get the response page! Edit post: 2020-08-09T11:44:17.624839+00:00 heroku[web.1]: State

Cant make opencv work on heroku

纵然是瞬间 提交于 2020-12-29 06:46:48
问题 I'm trying to make opencv work on Heroku but i have the following error on the server's log file : 2017-10-05T23:17:08.145096+00:00 heroku[web.1]: State changed from crashed to starting 2017-10-05T23:17:19.477843+00:00 heroku[web.1]: Starting process with command `python Main.py` 2017-10-05T23:17:23.469550+00:00 heroku[web.1]: State changed from starting to crashed 2017-10-05T23:17:23.458477+00:00 heroku[web.1]: Process exited with status 1 2017-10-05T23:17:23.268234+00:00 app[web.1]:

Cant make opencv work on heroku

风流意气都作罢 提交于 2020-12-29 06:46:08
问题 I'm trying to make opencv work on Heroku but i have the following error on the server's log file : 2017-10-05T23:17:08.145096+00:00 heroku[web.1]: State changed from crashed to starting 2017-10-05T23:17:19.477843+00:00 heroku[web.1]: Starting process with command `python Main.py` 2017-10-05T23:17:23.469550+00:00 heroku[web.1]: State changed from starting to crashed 2017-10-05T23:17:23.458477+00:00 heroku[web.1]: Process exited with status 1 2017-10-05T23:17:23.268234+00:00 app[web.1]:

How can I retrieve Heroku application id?

北城以北 提交于 2020-08-10 22:36:23
问题 I am being asked for heroku app id (the app123@heroku.com ) by 3rd party support. I am quite sure there was some way to do get it, but I don't see it know. It's not featured in heroku info even in the more verbose --json mode. How can I retrieve it? 来源: https://stackoverflow.com/questions/62796668/how-can-i-retrieve-heroku-application-id

How can I retrieve Heroku application id?

旧城冷巷雨未停 提交于 2020-08-10 22:31:06
问题 I am being asked for heroku app id (the app123@heroku.com ) by 3rd party support. I am quite sure there was some way to do get it, but I don't see it know. It's not featured in heroku info even in the more verbose --json mode. How can I retrieve it? 来源: https://stackoverflow.com/questions/62796668/how-can-i-retrieve-heroku-application-id

Heroku CLI authentication issue

依然范特西╮ 提交于 2020-08-02 04:56:25
问题 After a fresh install of Heroku on Windows 7, I can't seem to authenticate from the command-line. Running the command: heroku login prompts me to enter my credentials. After doing so, I received an error: heroku: Enter your login credentials Email: my_email Password: ************ Error: ENOENT: no such file or directory, open 'z:/_netrc' I am using PowerShell, and when I run the command cat z:/_netrc , I get this error: cat : Cannot find drive. A drive with the name 'z' does not exist. Z: is

Heroku: How to release an existing image in gitlab CI/CD?

我与影子孤独终老i 提交于 2020-05-15 08:27:27
问题 I would like to deploy my application as a container from Gitlab CI/CD pipeline. A few days ago I could deploy my docker image as written in the heroku devCenter. docker login --username=_ --password=$(heroku auth:token) registry.heroku.com and pushed it to the heroku registry. docker tag imageregistry.heroku.com/app/process-type docker push registry.heroku.com/app/process-type But then they changed the deploy in 2 steps heroku cointainer:push heroku container:release Before the update it was