2
respostas

erro ao clicar em "Crie seu cadastro!"

Ativei o projeto conforme indicado nas orientações, porém ao clicar em Crie seu cadastro apresenta o erro abaixo: botao criar cadastro

Error: Failed to lookup view "signUp" in views directory "/home/vpaulo/developer/alura/auth20-nodejs/curso-node-oauth-projeto_inicial/views"
    at Function.render (/home/vpaulo/developer/alura/auth20-nodejs/curso-node-oauth-projeto_inicial/node_modules/express/lib/application.js:597:17)
    at ServerResponse.render (/home/vpaulo/developer/alura/auth20-nodejs/curso-node-oauth-projeto_inicial/node_modules/express/lib/response.js:1048:7)
    at exports.showPageSignUp (/home/vpaulo/developer/alura/auth20-nodejs/curso-node-oauth-projeto_inicial/controllers/index.js:6:9)
    at Layer.handle [as handle_request] (/home/vpaulo/developer/alura/auth20-nodejs/curso-node-oauth-projeto_inicial/node_modules/express/lib/router/layer.js:95:5)
    at next (/home/vpaulo/developer/alura/auth20-nodejs/curso-node-oauth-projeto_inicial/node_modules/express/lib/router/route.js:149:13)
    at Route.dispatch (/home/vpaulo/developer/alura/auth20-nodejs/curso-node-oauth-projeto_inicial/node_modules/express/lib/router/route.js:119:3)
    at Layer.handle [as handle_request] (/home/vpaulo/developer/alura/auth20-nodejs/curso-node-oauth-projeto_inicial/node_modules/express/lib/router/layer.js:95:5)
    at /home/vpaulo/developer/alura/auth20-nodejs/curso-node-oauth-projeto_inicial/node_modules/express/lib/router/index.js:284:15
    at Function.process_params (/home/vpaulo/developer/alura/auth20-nodejs/curso-node-oauth-projeto_inicial/node_modules/express/lib/router/index.js:346:12)
    at next (/home/vpaulo/developer/alura/auth20-nodejs/curso-node-oauth-projeto_inicial/node_modules/express/lib/router/index.js:280:10)
2 respostas

Pessoal RESOLVIDO, recriei a view. obrigado

Oi, Victor! Tudo bem?

Que bacana saber que você conseguiu encontrar a solução para o problema por conta própria, parabéns! Porém caso surja alguma dúvida, sinta-se à vontade em comunicar por aqui, estou à disposição e ficarei super feliz em poder ajudar!

Um forte abraço e bons estudos!