Deploying to Heroku - vapor heroku init command - error - heroku

While trying to deploy to Heruko, I keep getting the question "Would you like to deploy to other than US region server?". If I select n, it displays an error. Not sure why am getting different questions than the tutorial I am following.

I believe this was fixed here https://github.com/vapor/toolbox/pull/145
Update your Toolbox installation and try again.
brew update toolbox
// or
vapor self update

Related

App not Compatible with Buildpack - Using Heroku to Run a Discord App

My code is written in Python on VS Code, and I'm using a Windows laptop. I want to deploy it and am using the Heroku CLI to do this. When I push at the end, I get the following error:
I'm not sure how to fix this or what is causing the issue. Could it be because of what imports I use?

compilation successfully while running the command npm run watch on compute engine but no any changing effects

Compilation successfully while running the command npm run watch on compute engine ubuntu terminal but no changing effects. I use the Larave+Vue project hosted on the Ubuntu VM instance on GCP. I search much time for this issue but not able to find any solution. I found a similar problem on StackOverflow but there is no answer to solve my problem. Please check the link below:
I am using Putty to run and compile vue js + laravel app on Godaddy VPS. Changes are not taking effect
Please help...
Thanks in advance.
Maybe try npm run watch-poll instead, on certain systems watch doesn't trigger changes but wacth-poll will periodically checks (polls) for changes.

maximum setlocal recursion level reached for heroku in windows

I am trying to host a small app in heroku. The app is already up. Now when I was trying to push additional changes and hence logging; I am getting this error in my cmd.
The app is in laravel 5.4. I am running windows 10. And I am relatively new to hosting and heroku.
What might be the possible solution to the problem?
I've had the same problem today and I think it is related to the automatic Heroku CLI update.
I managed to fix it by changing this file: %LOCALAPPDATA%\heroku\client\7.0.15\bin\heroku.cmd
On line 4 it was:
if not "%HEROKU_REDIRECTED%"=="1" if exist "%LOCALAPPDATA%\heroku\client\bin\heroku.cmd" (
and I changed it to:
if not %HEROKU_REDIRECTED%=="1" if exist "%LOCALAPPDATA%\heroku\client\bin\heroku.cmd" (
Basically when %HEROKU_REDIRECTED% was wrapped in double quotes first if statement always evaluated to true, causing recursion.
Heroku posted an update and fix for this:
https://help.heroku.com/FMA2YNC8/heroku-cli-windows-v7-setlocal-recursion-error
The recursion error has been patched in version 7.0.13, however the
bug may render earlier versions of the CLI unusable. To fix this,
delete the CLI client folder at
C:\Users\\AppData\Local\heroku\client then run heroku
update.

How can I download and install Laravel Framework 5

I am new in php programming and I like to install the latest version of Laravel framework on my windows os. When I trying to download Laravel through composer, I receive error like this:
Picture of error in downloading and installing Laravel 5
Where is problem? Why I can't download Laravel?
I'm so appreciate if anyone help me
And sorry for my English
Thanks guys
The error states that it can't find git. Simply installing it isn't enough. Make sure it's in your PATH variable.
Here is an answered question on how to add directories to your windows PATH:
OK guys, I downloaded git-hub and install it. I set PATH variable successfully. Now I recieved new error from composer installer:
New screenshot from new error!
What is this? :-(
It solved. My problem was network connection
Thanks to all.
Your screenshot already has the answer for you.
It says git is missing or not installed.
Make sure that git is installed properly, and try it again.
Try checking out the date and time of your computer,
make sure it is updated to your current local time and date.

`$ socketstream start` not working

I installed SocketStream and created a demo app with the socketstream new [appname] command. It worked fine, but I was only able to start it with node app command. Some reference suggests using socketstream start from the command prompt. When I tried this it responded with a usage suggestion: "try socketstream new [project name]".
I also installed SocketChat, and their Github documentation suggests starting with socketstream start. It just prompts usage suggestion as above to create a new project.
Any ideas?
It seems like they've deprecated the standalone chat app, as last update 2 years ago. It's integrated into the main template now.
And socketstream start to start an application seems (best guess) to be deprecated or removed for v 0.3+

Resources