Aprendo a configurar #nodejs #express #mongodb, aprendendo com o
link,
mas recebo este erro quando abro meu localhost: 3000
<quote>
Express
500 TypeError: Não é possível chamar o método ‘findAll’ de undefined
em app.get.res.render.title (/ Users / txshon / Dropbox / Google Drive / 04) Practice / NodeJS / EmployeeDB / app.js: 37: 19)
nos retornos de chamada (/ Users / txshon / Dropbox / Google Drive / 04) Practice / NodeJS / EmployeeDB / node modules / express / lib / router / index.js: 164: 37)
no parâmetro (/ Users / txshon / Dropbox / Google Drive / 04) Prática / NodeJS / EmployeeDB / node modules / express / lib / router / index.js: 138: 11)
na passagem (/ Users / txshon / Dropbox / Google Drive / 04) Practice / NodeJS / EmployeeDB / node modules / express / lib / router / index.js: 145: 5)
no roteador. despacho (/ Users / txshon / Dropbox / Google Drive / 04) Practice / NodeJS / EmployeeDB / node modules / express / lib / router / index.js: 173: 5)
em Object.router (/ Users / txshon / Dropbox / Google Drive / 04) Practice / NodeJS / EmployeeDB / node modules / express / lib / router / index.js: 33: 10)
na próxima (/ Users / txshon / Dropbox / Google Drive / 04) Practice / NodeJS / EmployeeDB / node modules / express / node modules / connect / lib / proto.js: 190: 15)
em Object.methodOverride as handle Practice / NodeJS / EmployeeDB / node modules / express / node modules /connect/lib/middleware/methodOverride.js:49:5)
na próxima (/ Users / txshon / Dropbox / Google Drive / 04) Pratique / NodeJS / EmployeeDB / node modules / express / node modules / connect / lib / proto. js: 190: 15)
em multipart (/ Users / txshon / Dropbox / Google Drive / 04) Practice / NodeJS / EmployeeDB / node modules / express / nodemodules / connect / lib / middleware / multipart.js: 64: 37)
</>