Ao final do módulo 2 apareceu esse erro:
TypeError: /Users/andrecosta/Projetos/casadocodigo/app/views/produtos/lista.ejs:11 9| 10|
11| <%for(var i=0; i 12|
Cannot read property 'length' of undefined at eval (eval at (/Users/andrecosta/Projetos/casadocodigo/node_modules/ejs/lib/ejs.js:491:12), :11:27) at returnedFn (/Users/andrecosta/Projetos/casadocodigo/node_modules/ejs/lib/ejs.js:520:17) at View.exports.renderFile [as engine] (/Users/andrecosta/Projetos/casadocodigo/node_modules/ejs/lib/ejs.js:374:31) at View.render (/Users/andrecosta/Projetos/casadocodigo/node_modules/express/lib/view.js:126:8) at tryRender (/Users/andrecosta/Projetos/casadocodigo/node_modules/express/lib/application.js:639:10) at EventEmitter.render (/Users/andrecosta/Projetos/casadocodigo/node_modules/express/lib/application.js:591:3) at ServerResponse.render (/Users/andrecosta/Projetos/casadocodigo/node_modules/express/lib/response.js:960:7) at Query._callback (/Users/andrecosta/Projetos/casadocodigo/app/routes/produtos.js:7:11) at Query.Sequence.end (/Users/andrecosta/Projetos/casadocodigo/node_modules/mysql/lib/protocol/sequences/Sequence.js:85:24) at Query.ErrorPacket (/Users/andrecosta/Projetos/casadocodigo/node_modules/mysql/lib/protocol/sequences/Query.js:94:8)