Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

few errors are coming. #11

Open
maaixprt opened this issue Dec 9, 2019 · 0 comments
Open

few errors are coming. #11

maaixprt opened this issue Dec 9, 2019 · 0 comments

Comments

@maaixprt
Copy link

maaixprt commented Dec 9, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant