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

Cannot read property 'length' of null #149

Open
vaikutin opened this issue Feb 2, 2020 · 0 comments
Open

Cannot read property 'length' of null #149

vaikutin opened this issue Feb 2, 2020 · 0 comments

Comments

@vaikutin
Copy link

vaikutin commented Feb 2, 2020

Hi,
I installed and run "node server.js". It looks fine but when I tried to connect from a web browser.
It shows the following error message and crash.
Please help me to figure out what is wrong.
Thank you.

events.js:174
      throw er; // Unhandled 'error' event
      ^

TypeError: Cannot read property 'length' of null
    at /home/bitnami/src/classes/AppRouter.js:65:33
    at /home/bitnami/node_modules/mongoose/lib/query.js:3122:9
    at process._tickCallback (internal/process/next_tick.js:68:7)
Emitted 'error' event at:
    at Immediate.<anonymous> (/home/bitnami/node_modules/mongoose/lib/query.js:3128:23)
    at runCallback (timers.js:705:18)
    at tryOnImmediate (timers.js:676:5)
    at processImmediate (timers.js:658:5)
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