Ошибка с мерзавцем и герокой - PullRequest
0 голосов
/ 13 июня 2018

Попытка поставить приложение на сервер `heroku ', но оно не работает, сделать все, как указано в инструкции. Установить Heroku CLI Загрузите и установите Heroku CLI.

Если вы этого еще не сделали, зарегистрируйтесьв свою учетную запись Heroku и следуйте инструкциям для создания нового открытого ключа SSH.

$ heroku login

Создание нового репозитория Git Инициализация репозитория git в новом или существующем каталоге

$ cd my-project/
$ git init
$ heroku git:remote -a name

Развертывание приложения Зафиксируйте свой код в хранилище и разверните его в Heroku с помощью Git.

$ git add .
$ git commit -am "make it better"
$ git push heroku master

Существующее хранилище Git Для существующих хранилищ просто добавьте удаленный heroku

$ heroku git:remote -a name

После вводакоманда

$ git push heroku master

появляется ошибка

 c:\Games\discord>git push heroku master    Counting objects: 323, done.
    Compressing objects: 100% (312/312), done.
    Writing objects: 100% (323/323), 360.29 KiB | 922.00 KiB/s, done.
    Total 323 (delta 31), reused 0 (delta 0)
    remote: Compressing source files... done.
    remote: Building source:
    remote:
    remote:  !     No default language could be detected for this app.
    remote:                         HINT: This occurs when Heroku cannot detect 
    the
    buildpack to use for this application automatically.
    remote:                         See 
    https://devcenter.heroku.com/articles/buildp
    acks
    remote:
    remote:  !     Push failed
    remote: Verifying deploy...
    remote:
    remote: !       Push rejected to name.
    remote:
    To https://git.heroku.com/name.git
    ! [remote rejected] master -> master (pre-receive hook declined)
    error: failed to push some refs to 'https://git.heroku.com/name.git'

Это подчеркнуто красным

! [remote rejected] master -> master (pre-receive hook declined)

error: failed to push some refs to 'https://git.heroku.com/name.git'

Попытка написать "тянуть" перед "толкать", но это не такне помогло

у меня windows 7

...