Skip to content

few errors are coming.  #11

@maaixprt

Description

@maaixprt

Here are detail:

{ TypeError: /usr/src/app/views/index.jade:6
nodejs     |     4|     h1= title
nodejs     |     5|     #employees
nodejs     |   > 6|         - each employee in employees
nodejs     |     7|           div.employee
nodejs     |     8|             div.created_at= employee.created_at
nodejs     |     9|             div.title= employee.title 
nodejs     | 
nodejs     | Cannot read property 'length' of undefined
nodejs     |     at eval (eval at exports.compile (/usr/src/app/node_modules/jade/lib/jade.js:176:8), <anonymous>:50:35)
nodejs     |     at eval (eval at exports.compile (/usr/src/app/node_modules/jade/lib/jade.js:176:8), <anonymous>:201:4)
nodejs     |     at /usr/src/app/node_modules/jade/lib/jade.js:181:12
nodejs     |     at Object.exports.render (/usr/src/app/node_modules/jade/lib/jade.js:216:14)
nodejs     |     at View.exports.renderFile [as engine] (/usr/src/app/node_modules/jade/lib/jade.js:243:13)
nodejs     |     at View.render (/usr/src/app/node_modules/express/lib/view.js:75:8)
nodejs     |     at Function.app.render (/usr/src/app/node_modules/express/lib/application.js:504:10)
nodejs     |     at ServerResponse.res.render (/usr/src/app/node_modules/express/lib/response.js:753:7)
nodejs     |     at /usr/src/app/app.js:70:11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions