Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Problema no heroku git:remote

Tentei fazer mas deu o seguinte erro primeiramente:

Error: Command failed: git remote
fatal: Not a git repository (or any of the parent directories): .git

depois de umas 20 tentativas ele rodou e deu esse erro agora:

TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters
    at C:/Users/TI/AppData/Roaming/npm/node_modules/heroku/node_modules/http-call/lib/http.js:317:50
    at new Promise (<anonymous>)
    at APIHTTPClient._performRequest (C:/Users/TI/AppData/Roaming/npm/node_modules/heroku/node_modules/http-call/lib/http.js:315:16)
    at APIHTTPClient._request (C:/Users/TI/AppData/Roaming/npm/node_modules/heroku/node_modules/http-call/lib/http.js:203:40)
    at APIHTTPClient._maybeRetry (C:/Users/TI/AppData/Roaming/npm/node_modules/heroku/node_modules/http-call/lib/http.js:250:24)
    at async APIHTTPClient._maybeRetry (C:/Users/TI/AppData/Roaming/npm/node_modules/heroku/node_modules/http-call/lib/http.js:250:13)
    at async APIHTTPClient._maybeRetry (C:/Users/TI/AppData/Roaming/npm/node_modules/heroku/node_modules/http-call/lib/http.js:250:13)
    at async APIHTTPClient._maybeRetry (C:/Users/TI/AppData/Roaming/npm/node_modules/heroku/node_modules/http-call/lib/http.js:250:13)

não sei o que estou fazendo de errado tem que rodar o codigo na pasta raiz do projeto(na mesma pasta do Dockerfile do projeto) correto?

1 resposta
solução!

Oi Joao,

Pelo erro, seu projeto nao é um repositorio do Git.

Rode os seguintes comandos, no diretorio raiz do projeto:

git init
git add .
git commit -m "projeto alura forum"

E veja se resolve.

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software